(self, x: torch.Tensor)
| 73 | self.causal_padding = (kernel_size - 1, 0) |
| 74 | |
| 75 | def forward(self, x: torch.Tensor): |
| 76 | x = F.pad(x, self.causal_padding) |
| 77 | x = super(CausalConv1d, self).forward(x) |
| 78 | return x |
| 79 | |
| 80 | class ConditionalDecoder(nn.Module): |
| 81 | def __init__( |