I’m new to Pytorch, suggested by my peers.
I’m a little confused about the data structure on the conversion from a tensor array to numpy array. The following is a conversion:
test0 = torch.rand(100, 100)
test1 = test0.numpy()
print(sys.getsizeof(test1))
This gives me an output 112, where I expect 80112. Can anyone help me understand this outcome?
Thanks a lot!