There is the following issue on this page: https://docs.pytorch.org/tutorials/beginner/blitz/tensor_tutorial.html#bridge-to-np-label Thanks for author's description, it was very helpful