Here’s the 0.4 -> 1.0 migration guide: https://pytorch.org/blog/pytorch-0_4_0-migration-guide/ 35
I remember there was also a slightly different version of this on GitHub somewhere, but I can’t find it now.