(self, x, z)
| 233 | self.output_nc = out_channels |
| 234 | |
| 235 | def forward(self, x, z): |
| 236 | out = x.pop() |
| 237 | for i in range(self.layers)[::-1]: |
| 238 | res_model = getattr(self, 'res' + str(i)) |
| 239 | up_model = getattr(self, 'up' + str(i)) |
| 240 | jump_model = getattr(self, 'jump' + str(i)) |
| 241 | out = res_model(out, z) |
| 242 | out = up_model(out) |
| 243 | out = jump_model(x.pop()) + out |
| 244 | out_image = self.final(out) |
| 245 | return out_image |
| 246 | |
| 247 | class FirstBlock2d(nn.Module): |
| 248 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected