Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance decorator _use_grad_for_differentiable (pytorch#103567)
Aim: enhance decorator _use_grad_for_differentiable so that functions (methods) decorated by it keep their docstrings and signatures unchanged. Fixes pytorch#103566 Pull Request resolved: pytorch#103567 Approved by: https://github.com/janeyx99
- Loading branch information