Hi Chanind!



 chanind:

If it just normalizes a tensor to a mean and stdev, then shouldn’t it be idempotent?


No, this is not how Normalize works.  It does not modify your tensor
to have the specified mean and std.  Rather, according to the
documentation for torchvision.transforms.Normalize 1, it subtracts the
specified mean from your tensor and then divides by the specified
std (on a per-channel basis).
Best.
K. Frank