(self, x)
| 51 | padding=1) |
| 52 | |
| 53 | def forward(self, x): |
| 54 | x = torch.nn.functional.interpolate(x, scale_factor=2.0, mode="nearest") |
| 55 | if self.with_conv: |
| 56 | x = self.conv(x) |
| 57 | return x |
| 58 | |
| 59 | |
| 60 | class Downsample(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected