(self, x)
| 125 | self.stride = stride |
| 126 | self.pad_length = (kernel_size - 1) * dilation |
| 127 | def forward(self, x): |
| 128 | pad = nn.ConstantPad1d((self.pad_length, 0), 0.0) |
| 129 | x = pad(x) |
| 130 | return self.conv(x) |
| 131 | |
| 132 | |
| 133 | class CausalConvTranspose1d(NonCausalConvTranspose1d): |
nothing calls this directly
no outgoing calls
no test coverage detected