(self, input, skip=None)
| 372 | self.bias = nn.Parameter(torch.zeros(1, 3, 1, 1)) |
| 373 | |
| 374 | def forward(self, input, skip=None): |
| 375 | out = self.conv(input) |
| 376 | out = out + self.bias |
| 377 | |
| 378 | if skip is not None: |
| 379 | skip = self.upsample(skip) |
| 380 | out = out + skip |
| 381 | |
| 382 | return out |
| 383 | |
| 384 | |
| 385 | class ToFlow(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected