Загрузка
Normalize a float tensor image with mean and standard deviation. This transform does not support PIL Image.
See Normalize for more details.
tensor (Tensor) – Float tensor image of size (C, H, W) or (B, C, H, W) to be normalized.
mean (sequence) – Sequence of means for each channel.
std (sequence) – Sequence of standard deviations for each channel.
inplace (bool,optional) – Bool to make this operation inplace.
Normalized Tensor image.
Tensor