PytorchBackend.to_backend_array# PytorchBackend.to_backend_array(arr)[source]# Convert a numpy array instance to backend array type. Parameters: arrNDArrayThe numpy array instance to be converted. Returns: BackendArrayAn array of the specified backend. See also MatchingBackend.to_cpu_array() MatchingBackend.to_numpy_array()