(self, x)
| 66 | padding=1) |
| 67 | |
| 68 | def forward(self, x): |
| 69 | x = torch.nn.functional.interpolate(x, scale_factor=2.0, mode="nearest") |
| 70 | if self.with_conv: |
| 71 | x = self.conv(x) |
| 72 | return x |
| 73 | |
| 74 | |
| 75 | class Downsample(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected