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

Function require_string_value

src/models/vibevoice/assets.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 config.decoder_ratios = config.encoder_ratios;
54 }
55 for (const auto ratio : config.encoder_ratios) {
56 engine::io::require_positive(ratio, label);
57 }
58 for (const auto ratio : config.decoder_ratios) {
59 engine::io::require_positive(ratio, label);
60 }
61 if (config.mixer_layer != "depthwise_conv") {
62 throw std::runtime_error(std::string("VibeVoice config ") + label + " mixer_layer mismatch");
63 }

Callers 4

parse_tokenizer_configFunction · 0.70
parse_decoder_configFunction · 0.70
parse_configFunction · 0.70

Calls 1

stringFunction · 0.50

Tested by

no test coverage detected