Since Numpy array is Float64 by default. How do I convert to PyTorch tensor to give a FLoat32 type and not 64?
I tried torch.from_numpy
and it gave a Float64 type.
Since Numpy array is Float64 by default. How do I convert to PyTorch tensor to give a FLoat32 type and not 64?
I tried torch.from_numpy
and it gave a Float64 type.