| 11 | namespace { |
| 12 | |
| 13 | void require_payload_size(const std::vector<float> & values, int64_t expected, const char * label) { |
| 14 | if (expected < 0 || static_cast<int64_t>(values.size()) != expected) { |
| 15 | throw std::runtime_error(std::string("VibeVoice diffusion sampler payload size mismatch for ") + label); |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | std::vector<float> concat_conditions(const VibeVoiceSpeechDiffusionInput & input) { |
| 20 | std::vector<float> condition; |
no test coverage detected