Forward function.
(self, x)
| 138 | self.deconv_upsamping = nn.Sequential(deconv, norm, activate) |
| 139 | |
| 140 | def forward(self, x): |
| 141 | """Forward function.""" |
| 142 | |
| 143 | if self.with_cp and x.requires_grad: |
| 144 | out = cp.checkpoint(self.deconv_upsamping, x) |
| 145 | else: |
| 146 | out = self.deconv_upsamping(x) |
| 147 | return out |
| 148 | |
| 149 | |
| 150 | @UPSAMPLE_LAYERS.register_module() |
nothing calls this directly
no outgoing calls
no test coverage detected