(self, x)
| 676 | padding=1) |
| 677 | |
| 678 | def forward(self, x): |
| 679 | for i, layer in enumerate(self.model): |
| 680 | if i in [1,2,3]: |
| 681 | x = layer(x, None) |
| 682 | else: |
| 683 | x = layer(x) |
| 684 | |
| 685 | h = self.norm_out(x) |
| 686 | h = nonlinearity(h) |
| 687 | x = self.conv_out(h) |
| 688 | return x |
| 689 | |
| 690 | |
| 691 | class UpsampleDecoder(nn.Module): |
nothing calls this directly
no test coverage detected