(self, x, scale_factor=1.0)
| 761 | padding=1) |
| 762 | |
| 763 | def forward(self, x, scale_factor=1.0): |
| 764 | if scale_factor==1.0: |
| 765 | return x |
| 766 | else: |
| 767 | x = torch.nn.functional.interpolate(x, mode=self.mode, align_corners=False, scale_factor=scale_factor) |
| 768 | return x |
| 769 | |
| 770 | class FirstStagePostProcessor(nn.Module): |
| 771 |
nothing calls this directly
no outgoing calls
no test coverage detected