(self, x)
| 685 | padding=1) |
| 686 | |
| 687 | def forward(self, x): |
| 688 | for i, layer in enumerate(self.model): |
| 689 | if i in [1,2,3]: |
| 690 | x = layer(x, None) |
| 691 | else: |
| 692 | x = layer(x) |
| 693 | |
| 694 | h = self.norm_out(x) |
| 695 | h = nonlinearity(h) |
| 696 | x = self.conv_out(h) |
| 697 | return x |
| 698 | |
| 699 | |
| 700 | class UpsampleDecoder(nn.Module): |
nothing calls this directly
no test coverage detected