(self, x, z)
| 274 | self.output_nc = out_channels |
| 275 | |
| 276 | def forward(self, x, z): |
| 277 | out = x.pop() |
| 278 | for i in range(self.layers)[::-1]: |
| 279 | res_model = getattr(self, 'res' + str(i)) |
| 280 | up_model = getattr(self, 'up' + str(i)) |
| 281 | jump_model = getattr(self, 'jump' + str(i)) |
| 282 | out = res_model(out, z) |
| 283 | out = up_model(out) |
| 284 | out = jump_model(x.pop()) + out |
| 285 | out_image1 = self.final1(out) |
| 286 | out_image2 = self.final2(out) |
| 287 | return [out_image1, out_image2] |
| 288 | |
| 289 | |
| 290 | class FirstBlock2d(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected