(self)
| 622 | # test whether __repr__ can deal with module re-reference |
| 623 | class ConvModel2(Module): |
| 624 | def __init__(self): |
| 625 | super().__init__() |
| 626 | self.conv1 = Conv2d(3, 128, 3, bias=False) |
| 627 | self.conv2 = self.conv1 |
| 628 | self.conv3 = self.conv1 |
| 629 | |
| 630 | def forward(self, inputs): |
| 631 | pass |