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

Function require_i64_list

src/models/roformer/assets.cpp:142–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 }
141 }
142 }
143 config.merged_band_counts.assign(
144 static_cast<size_t>(config.stft_freq_bins * config.channels), 1);
145}
146
147RoformerArchitectureConfig parse_config(
148 const json::Value & parsed,
149 std::string_view family) {
150 if (!parsed.is_object()) {
151 throw std::runtime_error(std::string(family) + " config root must be an object");
152 }
153 validate_config(parsed, family);
154 RoformerArchitectureConfig config;
155 config.family = std::string(family);

Callers 1

Calls 2

require_string_listFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected