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

Function append_patch

src/models/voxcpm2/generator.cpp:116–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 return logits[1] > logits[0] ? 1 : 0;
115}
116
117std::vector<float> concat_dit_mu(const std::vector<float> &lm,
118 const std::vector<float> &residual) {
119 std::vector<float> out;
120 out.reserve(lm.size() + residual.size());
121 out.insert(out.end(), lm.begin(), lm.end());
122 out.insert(out.end(), residual.begin(), residual.end());
123 return out;
124}
125

Callers 1

generate_onceMethod · 0.85

Calls 3

sizeMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected