| 737 | } |
| 738 | |
| 739 | void release_runtime_cache() { |
| 740 | std::lock_guard<std::mutex> lock(mutex_); |
| 741 | f0_runner_.reset(); |
| 742 | backend_runner_.reset(); |
| 743 | } |
| 744 | |
| 745 | private: |
| 746 | std::vector<float> predict_f0_locked(const std::vector<float> & mel, int64_t frames) { |