Great thanks for the quick response. Useful link. That helps me understand Normalise and the first example fully.
Regarding the 2nd example, Any convention regarding transforms like permute or view?
When data is given by the dataloader does it apply any of these transforms automatically? And because this examples is reading the image from memory without using a data loading abstraction these transforms are done by the author? I do not have any other popular repositories at the moment. I am looking at this example currently. Repo Link 1 But I can get back with more examples where a lot of image manipulation seems to be done by operations that seems obvious for the pytorch community but not for an outsider.