Method
__init__
(self,
chan_in,
chan_out,
kernel_size,
**kwargs
)
Source from the content-addressed store, hash-verified
| 413 | |
| 414 | class CausalConvChannelLast(CausalConv): |
| 415 | def __init__(self, |
| 416 | chan_in, |
| 417 | chan_out, |
| 418 | kernel_size, |
| 419 | **kwargs |
| 420 | ): |
| 421 | super().__init__( |
| 422 | chan_in, chan_out, kernel_size, **kwargs) |
| 423 | |
| 424 | self.time_causal_padding = (0, 0) + self.time_causal_padding |
| 425 | self.time_uncausal_padding = (0, 0) + self.time_uncausal_padding |
| 426 | |
| 427 | def forward(self, x, is_init=True, residual=None): |
| 428 | if self.is_first_run: |
Callers
nothing calls this directly
Tested by
no test coverage detected