| 1352 | const std::vector<float> & latents, |
| 1353 | int64_t batch_size, |
| 1354 | int64_t frames) const { |
| 1355 | if (batch_size <= 0 || frames <= 0) { |
| 1356 | throw std::runtime_error("HeartCodec scalar decoder request shape is invalid"); |
| 1357 | } |
| 1358 | if (flow_estimator_graph_ != nullptr) { |
| 1359 | flow_estimator_graph_->release_workspace(); |