(self, x)
| 26 | ) |
| 27 | |
| 28 | def forward(self, x): |
| 29 | x = torch.nn.functional.interpolate(x, scale_factor=2.0, mode="nearest") |
| 30 | if self.with_conv: |
| 31 | x = self.conv(x) |
| 32 | return x |
| 33 | |
| 34 | |
| 35 | class Downsample(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected