Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use safe_is_leaf to test leafness (pytorch#102706)
This fixes one of the problems in pytorch#101160 (comment) but I don't have a test case because the full example is fairly difficult to minify. Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: pytorch#102706 Approved by: https://github.com/bdhirsh
- Loading branch information