(self, x)
| 592 | padding=1) |
| 593 | |
| 594 | def forward(self, x): |
| 595 | for i, layer in enumerate(self.model): |
| 596 | if i in [1,2,3]: |
| 597 | x = layer(x, None) |
| 598 | else: |
| 599 | x = layer(x) |
| 600 | |
| 601 | h = self.norm_out(x) |
| 602 | h = nonlinearity(h) |
| 603 | x = self.conv_out(h) |
| 604 | return x |
| 605 | |
| 606 | |
| 607 | class UpsampleDecoder(nn.Module): |
nothing calls this directly
no test coverage detected