Solved by Kushaj in post #2 
              
              
                Normalization can mean different things. Normalizing with mean=0 and std=1, you do by 
x = (x - x.mean()) / x.std()

In case you want to normalize between [0, 1] 
x = (x - x.min())(x.max() - x.min())

Also, torchvision transforms are more oriented towards images. Maybe you can provide the code and I…