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

Function quantize_scalar_latent

src/models/heartmula/codec.cpp:494–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492 int64_t in_channels,
493 int64_t out_channels,
494 int64_t kernel_size,
495 int64_t dilation = 1) {
496 const int64_t left_pad = dilation * (kernel_size - 1);
497 auto padded = causal_left_pad_bct(ctx, input, left_pad);
498 return modules::Conv1dModule({
499 in_channels,
500 out_channels,
501 kernel_size,

Callers 1

scalar_decoderFunction · 0.85

Calls 4

wrap_tensorFunction · 0.85
ggml_roundFunction · 0.85
scaleFunction · 0.70

Tested by

no test coverage detected