sup3r.preprocessing.utilities.numpy_if_tensor

sup3r.preprocessing.utilities.numpy_if_tensor#

numpy_if_tensor(arr)[source]#

Cast array to numpy array if it is a tensor.