Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand GRADIENT_IMPLEMENTED_FOR_COMPLEX to allow named tensors (pytor…
…ch#47289) Summary: Complex-valued named tensors do not support backpropagation currently. This is due to `tools/autograd/gen_variable_type.py` not containing `alias` in `GRADIENT_IMPLEMENTED_FOR_COMPLEX` which is required to constructed named tensors. This fixes pytorch#47157. Also removed a duplicate `cholesky` in the list and added a test in `test_autograd.py`. Apologies, this is a duplicate of pytorch#47181 as I accidently removed my pytorch fork. cc: zou3519 anjali411 Pull Request resolved: pytorch#47289 Reviewed By: agolynski Differential Revision: D24706571 Pulled By: zou3519 fbshipit-source-id: 2cc48ce38eb180183c5b4ce2f8f4eef8bcac0316
- Loading branch information