Re:Copying data is wasteful, mutating data is dangerous
by naveen99 on Friday January 10, 2020 @08:03AM
(#22010630)
Pytorch has a built in normalize function: https://pytorch.org/docs/master/_modules/torchvision/transfo...
It just subtracts the mean and divides by standard deviation, both in place.
[ Parent
| on HN ]
There are no comments on this comment yet.