mirror of
https://github.com/zebrajr/pytorch.git
synced 2026-01-15 12:15:51 +00:00
Summary: Reading Torch docs about Resnets, and soumith's comment, they mention significant memory-saving with in-place ReLu. prigoyal already had this in her code, but I did not. This saves memory a lot: 9851 MiB -> 7497 MiB. Reviewed By: prigoyal Differential Revision: D4346100 fbshipit-source-id: e9c5d5e93787f47487fade668b65b9619bfc9741