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

Function require_string_list

src/models/roformer/assets.cpp:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 config.merged_freq_indices.reserve(
131 static_cast<size_t>(config.stft_freq_bins * config.channels));
132 int64_t freq = 0;
133 for (const int64_t count : freqs_per_band) {
134 const int64_t dim = 2 * count * config.channels;
135 config.band_input_dims.push_back(dim);
136 config.total_band_input_dim += static_cast<int>(dim);
137 for (int64_t local = 0; local < count; ++local, ++freq) {
138 for (int channel = 0; channel < config.channels; ++channel) {
139 config.merged_freq_indices.push_back(freq * config.channels + channel);
140 }
141 }
142 }
143 config.merged_band_counts.assign(

Callers 2

require_i64_listFunction · 0.85

Calls 3

findMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected