(self, x)
| 722 | padding=1) |
| 723 | |
| 724 | def forward(self, x): |
| 725 | for i, layer in enumerate(self.model): |
| 726 | if i in [1,2,3]: |
| 727 | x = layer(x, None) |
| 728 | else: |
| 729 | x = layer(x) |
| 730 | |
| 731 | h = self.norm_out(x) |
| 732 | h = nonlinearity(h) |
| 733 | x = self.conv_out(h) |
| 734 | return x |
| 735 | |
| 736 | |
| 737 | class UpsampleDecoder(nn.Module): |
nothing calls this directly
no test coverage detected