pytorch
adffd8eb - Add const to the first arg 'grad' of Reducer::copy_grad_to_bucket (#46501)

Commit
4 years ago
Add const to the first arg 'grad' of Reducer::copy_grad_to_bucket (#46501) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/46501 Gradients in this method will not be modified. ghstack-source-id: 114851646 Test Plan: waitforbuildbot Reviewed By: pritamdamania87 Differential Revision: D24374300 fbshipit-source-id: a2941891008f9f197a5234b50260218932d2d37d
Author
Yi Wang
Parents
Loading