Pytorch Get Shape Of Tensor