(self, x)
| 604 | padding=1) |
| 605 | |
| 606 | def forward(self, x): |
| 607 | for i, layer in enumerate(self.model): |
| 608 | if i in [1,2,3]: |
| 609 | x = layer(x, None) |
| 610 | else: |
| 611 | x = layer(x) |
| 612 | |
| 613 | h = self.norm_out(x) |
| 614 | h = nonlinearity(h) |
| 615 | x = self.conv_out(h) |
| 616 | return x |
| 617 | |
| 618 | |
| 619 | class UpsampleDecoder(nn.Module): |
nothing calls this directly
no test coverage detected