mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| builder.py | ||
| builtin.py | ||
| constant.py | ||
| dicts.py | ||
| functions.py | ||
| lists.py | ||
| misc.py | ||
| nn_module.py | ||
| tensor.py | ||
| torch.py | ||
| user_defined.py | ||