(self, x)
| 57 | padding=1) |
| 58 | |
| 59 | def forward(self, x): |
| 60 | x = torch.nn.functional.interpolate(x, scale_factor=2.0, mode="nearest") |
| 61 | if self.with_conv: |
| 62 | x = self.conv(x) |
| 63 | return x |
| 64 | |
| 65 | |
| 66 | class Downsample(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected