herleeyandi:


Print the size and type of tensor also not only the content.
Print the tensor location for example whether it is in GPU or CPU. If it is on GPU please tell us which device is the location.



I think the former was a conscious decision because size used to show up in too many places where it isn’t useful. (Personally, I usually want to print either the size or the contents, but hardly ever both.) Also it’s easy to print both.
The latter is already there: no device annotation means CPU, device=cuda:xx means GPU. I’m not sure what you miss there.
dtype is implied if it is the default you would get from a constructor (with “.” means float, without long) or show dtype is show.
Best regards
Thomas