irtk.io.to_numpy¶
- irtk.io.to_numpy(data: torch.Tensor) ndarray ¶
Converts a torch tensor to a numpy array.
- Parameters:
data – The input torch tensor.
- Returns:
The numpy array.
Converts a torch tensor to a numpy array.
data – The input torch tensor.
The numpy array.