Normalize
- class torchvision.transforms.Normalize(mean, std, inplace=False)[source]
Normalize a tensor image with mean and standard deviation. This transform does not support PIL Image. Given mean:
(mean[1],...,mean[n])and std:(std[1],..,std[n])fornchannels, this transform will normalize each channel of the inputtorch.*Tensori.e.,