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

Function discover_config_assets

src/models/roformer/assets.cpp:113–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 throw std::runtime_error("bs_roformer requires at least two frequency bands");
112 }
113 int64_t total_freqs = 0;
114 for (const int64_t count : freqs_per_band) {
115 if (count <= 0) {
116 throw std::runtime_error("bs_roformer freqs_per_bands values must be positive");
117 }
118 total_freqs += count;

Callers 2

resolve_model_configFunction · 0.70
inspect_roformer_modelFunction · 0.70

Calls 2

discover_named_assetsFunction · 0.85
resolve_model_rootFunction · 0.70

Tested by

no test coverage detected