MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / causal_left_pad_bct

Function causal_left_pad_bct

src/models/heartmula/codec.cpp:500–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
509core::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);

Callers 1

causal_conv1dFunction · 0.85

Calls 3

ggml_pad_extFunction · 0.85
wrap_tensorFunction · 0.85

Tested by

no test coverage detected