transforms.Normalize will standardize the data such that it’ll have a zero mean and unit variance.
You don’t need to apply it, but it might help your training.



 1414b35e42c77e0a57dd:

What about test dataset? Should I re-calculate mean and std from test data?


No, you should apply the same statistics calculated from the training dataset.
Otherwise this would be considered as data leakage.