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.