Hi, I’m wondering this function
torchvision.transforms.functional.normalize(tensor, mean, std)

what does the mean and std represent?
Is it mean the current tensor’s mean and std?
In the tutorial 36

Loading and normalizing CIFAR10


The output of torchvision datasets are PILImage images of range [0, 1]. We transform them to Tensors of normalized range [-1, 1].


transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))

Question:


Here the (0.5, 0.5, 0.5) is the mean of the PILImage images of range [0, 1] and the (0.5, 0.5, 0.5) is the standard deviation of the PILImage images of range [0, 1], right?


In this case, how can we know the standard deviation of the original image?


Thank you in advance