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

Function add_streaming_cache_output

src/models/vibevoice/tokenizer_audio.cpp:568–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566}
567
568void add_streaming_cache_output(
569 core::ModuleBuildContext & ctx,
570 VibeVoiceStreamingBuildState & state,
571 const core::TensorValue & cache) {
572 auto contiguous = core::ensure_backend_addressable_layout(ctx, cache);
573 ggml_set_output(contiguous.tensor);
574 state.cache_outputs.push_back(contiguous.tensor);
575}
576
577core::TensorValue last_frames(core::ModuleBuildContext & ctx, const core::TensorValue & input, int64_t frames) {
578 if (frames <= 0 || input.shape.dims[2] < frames) {

Callers 3

sconv1d_streamingFunction · 0.85

Calls 2

ggml_set_outputFunction · 0.85

Tested by

no test coverage detected