pytorch
67babf7a - Enhance decorator _use_grad_for_differentiable (#103567)

Commit
1 year ago
Enhance decorator _use_grad_for_differentiable (#103567) Aim: enhance decorator _use_grad_for_differentiable so that functions (methods) decorated by it keep their docstrings and signatures unchanged. Fixes #103566 Pull Request resolved: https://github.com/pytorch/pytorch/pull/103567 Approved by: https://github.com/janeyx99
Author
Committer
Parents
Loading