(self, module: nn.Module)
| 25 | """ |
| 26 | |
| 27 | def __init__(self, module: nn.Module): |
| 28 | super().__init__() |
| 29 | assert hasattr(module, "module"), \ |
| 30 | "ModuleProxyWrapper expects input to wrap another module" |
| 31 | self.module = module |
| 32 | |
| 33 | def __getattr__(self, name): |
| 34 | """Forward missing attributes to twice-wrapped module.""" |
nothing calls this directly
no outgoing calls
no test coverage detected