| 349 | } |
| 350 | |
| 351 | bool first_branch_has_eos(const std::vector<int32_t> & frame, const HeartMuLaAssets & assets) { |
| 352 | for (int64_t q = 0; q < assets.mula_config.audio_num_codebooks; ++q) { |
| 353 | if (frame[static_cast<size_t>(q)] >= assets.generation_config.audio_eos_id) { |
| 354 | return true; |
| 355 | } |
| 356 | } |
| 357 | return false; |
| 358 | } |
| 359 | |
| 360 | } // namespace |
| 361 |
no outgoing calls
no test coverage detected