pytorch
c7589231 - Update base for Update on "[WIP] Update backward definition for more operators and reenable tests in test_ops.py"

Commit
4 years ago
Update base for Update on "[WIP] Update backward definition for more operators and reenable tests in test_ops.py" This PR: 1. Fixes https://github.com/pytorch/pytorch/issues/41510. Updates backward formula for the following functions: `asin`, `acos`, `asinh`, `acosh`, `atan`, `atanh`, `div`, `log`, `log10`, `log2`, `log1p`, `pow`, `reciprocal`. 2. Re-enables the tests in `test_ops.py`. 3. Fixes a bug in `.pow()` for the case when exp is complex and equals 1.0 https://github.com/pytorch/pytorch/pull/44444/files#diff-9fa1985487308c7241bba078a8622c44L33 . 4. Adds dispatch for complex dtypes for `tanh_backward`. 5. Re-enables commented tests in `common_methods_invocation.py`. [ghstack-poisoned]
Author
Loading