(self, x)
| 1262 | padding=1) |
| 1263 | |
| 1264 | def forward(self, x): |
| 1265 | for i, layer in enumerate(self.model): |
| 1266 | if i in [1, 2, 3]: |
| 1267 | x = layer(x, None) |
| 1268 | else: |
| 1269 | x = layer(x) |
| 1270 | |
| 1271 | h = self.norm_out(x) |
| 1272 | h = nonlinearity(h) |
| 1273 | x = self.conv_out(h) |
| 1274 | return x |
| 1275 | |
| 1276 | |
| 1277 | class UpsampleDecoder(nn.Module): |
nothing calls this directly
no test coverage detected