(self, x, scale_factor=1.0)
| 854 | padding=1) |
| 855 | |
| 856 | def forward(self, x, scale_factor=1.0): |
| 857 | if scale_factor==1.0: |
| 858 | return x |
| 859 | else: |
| 860 | x = torch.nn.functional.interpolate(x, mode=self.mode, align_corners=False, scale_factor=scale_factor) |
| 861 | return x |
nothing calls this directly
no outgoing calls
no test coverage detected