pytorch
dc7bf1a7 - General reversible binary op support (e.g. __add__ / __radd__) in dynamo (#93271)

Commit
1 year ago
General reversible binary op support (e.g. __add__ / __radd__) in dynamo (#93271) Generic support for reversible binary op pairs (e.g. `__add__` / `__radd__`) in dynamo. Adds logic to flip args and try the reverse op when the forward op is unsupported. Pull Request resolved: https://github.com/pytorch/pytorch/pull/93271 Approved by: https://github.com/voznesenskym, https://github.com/jansel, https://github.com/ezyang
Author
Committer
Parents
Loading