pytorch
69d62373 - Move multi-line wrap functions to helper (#95472)

Commit
1 year ago
Move multi-line wrap functions to helper (#95472) My intention is to collapse all of the istype() and isinstance() and object identity tests into a more structured form involving a dict lookup. To do this conveniently, I need every continuation to be expressible in a single expression. Thus, all multi-line wrap methods are moved. This is code motion only, no logic changes. Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/95472 Approved by: https://github.com/Skylion007
Author
Committer
Parents
Loading