| 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( |
no test coverage detected