pytorch-pfn-extras
Returns PyTorch dtype for the given NumPy dtype.
numpy_dtype (Any) – NumPy’s dtype object.
PyTorch type object.
torch.dtype