pylops_gpu.utils.torch2numpy.numpytype_from_torchtype¶
-
pylops_gpu.utils.torch2numpy.
numpytype_from_torchtype
(torchtype)[source]¶ Convert torch type into equivalent numpy type
Parameters: - torchtype :
torch.dtype
Torch type
Returns: - numpytype :
numpy.dtype
Numpy equivalent type
- torchtype :