| 27 | |
| 28 | |
| 29 | class WrapperModule(torch.nn.Module): |
| 30 | def __init__(self, fn): |
| 31 | super().__init__() |
| 32 | self.fn = fn |
| 33 | |
| 34 | def forward(self, *args, **kwargs): |
| 35 | return self.fn(*args, **kwargs) |
| 36 | |
| 37 | |
| 38 | class TestDelegate(unittest.TestCase): |
no outgoing calls