pytorch
926a3d2e - clarify implementation of check_grad_usage (#64439)

Commit
3 years ago
clarify implementation of check_grad_usage (#64439) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/64439 1) remove unused fully_implemented 2) rename used_grad to uses_grad and make it a boolean 3) rename used_grads to num_grads_uses 4) add comments explaining what some of the checks mean Test Plan: Imported from OSS Reviewed By: albanD Differential Revision: D30733904 Pulled By: dagitses fbshipit-source-id: dccbbef8a4be8713215ef91aa97a34124f06a7a1
Author
Michael Dagitses
Parents
Loading