| 1340 | throw std::runtime_error("HeartCodec flow estimator request shape is invalid"); |
| 1341 | } |
| 1342 | if (scalar_decoder_graph_ != nullptr) { |
| 1343 | scalar_decoder_graph_->release_workspace(); |
| 1344 | } |
| 1345 | if (flow_estimator_graph_ == nullptr || !flow_estimator_graph_->matches(*this, batch_size, frames)) { |
| 1346 | flow_estimator_graph_ = std::make_unique<HeartCodecFlowEstimatorGraph>(*this, batch_size, frames); |
| 1347 | } |
no outgoing calls
no test coverage detected