mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Fixes issues with things like: ```python x = 2 x += y.shape[0] ``` resulting in invalid `2 += y.shape[0]` code in the FX graph. Fix: Whenever dynamic shapes are involved, insert the out-of-place op to the FX graph instead of the in-place op. Pull Request resolved: https://github.com/pytorch/pytorch/pull/95446 Approved by: 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 | ||