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