| 41 | |
| 42 | |
| 43 | class MyModule(M.Module): |
| 44 | def __init__(self): |
| 45 | super().__init__() |
| 46 | self.block0 = Myblcok() |
| 47 | self.block1 = Myblcok() |
| 48 | |
| 49 | def forward(self, x): |
| 50 | x = self.block0(x) |
| 51 | x = self.block1(x) |
| 52 | return x |
| 53 | |
| 54 | |
| 55 | class MyMinMaxObserver(Q.MinMaxObserver): |
no outgoing calls