mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
Rewrite Python built-in class `super()` calls. Only non-semantic changes should be applied. - #94587 - #94588 - #94592 Also, methods with only a `super()` call are removed: ```diff class MyModule(nn.Module): - def __init__(self): - super().__init__() - def forward(self, ...): ... ``` Some cases that change the semantics should be kept unchanged. E.g.: |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| functional_impl_check.py | ||
| module_impl_check.py | ||
| parity-tracker.md | ||
| parity_table_parser.py | ||
| sample_functional.py | ||
| sample_module.py | ||
| utils.py | ||