just add .size() to and tensor get the dimensions. If you want to see it with PyCharm you should click on view (you can see it on the right side when pointing at the tensor) and the dimensions should be at the bottom, below the values.