(self, x, is_init=True, residual=None)
| 250 | self.is_first_run = True |
| 251 | |
| 252 | def forward(self, x, is_init=True, residual=None): |
| 253 | x = nn.functional.pad(x, |
| 254 | self.time_causal_padding if is_init else self.time_uncausal_padding) |
| 255 | |
| 256 | x = self.conv(x) |
| 257 | if residual is not None: |
| 258 | x.add_(residual) |
| 259 | return x |
| 260 | |
| 261 | |
| 262 | class ChannelDuplicatingPixelUnshuffleUpSampleLayer3D(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected