Trying to get an introduction to PyTorch.  I am a little confused by some of the methods used in the class I am in.  Let’s say we have this tensor object called ‘abc’.  I see the method dtype which returns data type of the tensor object – which is also, I guess, a tensor type.  Then you can use, I think, the Python ‘type()’ builtin to do the same thing, albeit differently named type.
Then there is a case where you want to cast tensor object ‘abc’ by tacking a abc.numpy() constructor onto it.  Yet, although imported, the numpy constructor is not anywhere a documented as a Tensor class method.
So I guess I am having trouble with Python <–> PyTorch <–> Numpy.  Little help?