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