Hi,
This is expected. Now the notion of 0-dimensional tensor exists and represent a tensor containing a single element. You can see it as a number.
For example, if you call .sum() on a tensor, you will see that you get a 0-dimensionnal tensor as output.