Create a Warp function from a Python function.
- Parameters:
func (Callable) – A Python function to be converted to a Warp function.
- Returns:
A tuple containing the created Warp function and the module it belongs to.
- Return type:
tuple[Function, Module]