(self, x)
| 88 | ) |
| 89 | |
| 90 | def forward(self, x): |
| 91 | x = self.firstconv(x) |
| 92 | if getattr(self, "pool", True): |
| 93 | x = F.max_pool2d(x, kernel_size=3, stride=2, padding=1) |
| 94 | for block in self.blocks: |
| 95 | x = block(x) |
| 96 | return x |
| 97 | |
| 98 | def output_shape(self, inshape): |
| 99 | c, h, w = inshape |
nothing calls this directly
no outgoing calls
no test coverage detected