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

Function discover_weight_assets

src/models/roformer/assets.cpp:117–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 if (count <= 0) {
116 throw std::runtime_error("bs_roformer freqs_per_bands values must be positive");
117 }
118 total_freqs += count;
119 }
120 if (total_freqs != config.stft_freq_bins) {
121 throw std::runtime_error(
122 "bs_roformer freqs_per_bands sum mismatch: expected " +

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