Register diag_backward, diagonal_backward, infinitetely...gelu_backward as operators (#44422)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/44422
See #44052 for context.
Test Plan:
- `pytest test/test_autograd.py -v`
- `pytest test/test_nn.py -v`
Reviewed By: mrshenli
Differential Revision: D23607691
Pulled By: zou3519
fbshipit-source-id: 09fbcd66b877af4fa85fd9b2f851ed3912ce84d6