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