| 498 | return modules::Conv1dModule({ |
| 499 | in_channels, |
| 500 | out_channels, |
| 501 | kernel_size, |
| 502 | 1, |
| 503 | 0, |
| 504 | static_cast<int>(dilation), |
| 505 | weights.bias.has_value(), |
| 506 | }).build(ctx, padded, weights); |
| 507 | } |
| 508 | |
| 509 | core::TensorValue causal_conv_transpose1d( |
| 510 | core::ModuleBuildContext & ctx, |
| 511 | const core::TensorValue & input, |
| 512 | const modules::ConvTranspose1dWeights & weights, |
| 513 | int64_t in_channels, |
| 514 | int64_t out_channels, |
| 515 | int64_t kernel_size, |
| 516 | int64_t stride) { |
| 517 | auto output = modules::ConvTranspose1dModule({ |
| 518 | in_channels, |
| 519 | out_channels, |
| 520 | kernel_size, |
| 521 | static_cast<int>(stride), |
| 522 | 0, |
| 523 | 1, |
| 524 | weights.bias.has_value(), |
| 525 | }).build(ctx, input, weights); |
no test coverage detected