(self, x)
| 60 | self.nin_shortcut = Conv2d(in_channels, out_channels, 1) if in_channels != out_channels else lambda x: x |
| 61 | |
| 62 | def __call__(self, x): |
| 63 | h = self.conv1(self.norm1(x).swish()) |
| 64 | h = self.conv2(self.norm2(h).swish()) |
| 65 | return self.nin_shortcut(x) + h |
| 66 | |
| 67 | class Mid: |
| 68 | def __init__(self, block_in): |
nothing calls this directly
no outgoing calls
no test coverage detected