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

Function scalar_residual_unit

src/models/heartmula/codec.cpp:636–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634 x = causal_conv_transpose1d(
635 ctx,
636 x,
637 block.up_conv,
638 channels,
639 out_channels,
640 config.upsample_kernel_sizes[block_index],
641 config.upsample_factors[block_index]);
642 for (size_t residual = 0; residual < block.residual_units.size(); ++residual) {
643 x = scalar_residual_unit(
644 ctx,
645 x,
646 block.residual_units[residual],
647 out_channels,
648 config.res_kernel_size,
649 dilations[residual]);
650 }
651 channels = out_channels;

Callers 1

scalar_decoderFunction · 0.85

Calls 3

preluFunction · 0.85
causal_conv1dFunction · 0.70
buildMethod · 0.45

Tested by

no test coverage detected