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.: |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| delegate_test.ptl | ||
| delegated_submodule_with_debug_info.ptl | ||
| light_model.ptl | ||
| main.cpp | ||
| resources.h | ||
| sequence.ptl | ||
| test_backend_for_profiling.ptl | ||
| test_lite_interpreter_runtime.cpp | ||
| test_mobile_profiler.cpp | ||
| to_be_profiled_module.ptl | ||