mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01: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.: |
||
|---|---|---|
| .. | ||
| host | ||
| src | ||
| build.gradle | ||
| CMakeLists.txt | ||
| generate_test_asset.cpp | ||
| generate_test_torchscripts.py | ||
| gradle.properties | ||
| test_asset.jit | ||