That only works because your tensor has the dimensions of an Image.  If you look at the documentation, it says torchvision.transforms.Normalize is used to Normalize a tensor image with mean and standard deviation.  The argument is described as a

tensor  ( Tensor  11) – Tensor image of size (C, H, W) to be normalized.

My data is sequence data of dimension torch.Size([4, 589, 4])