Truco
2024-10-28 1a45b647a858b72c711c64bfe6b2e5333df6fd86
runtime/onnxruntime/src/paraformer-online.h
@@ -111,6 +111,9 @@
        string ForwardChunk(std::vector<std::vector<float>> &wav_feats, bool input_finished);
        string Forward(float* din, int len, bool input_finished, const std::vector<std::vector<float>> &hw_emb={{0.0}}, void* wfst_decoder=nullptr);
        string Rescoring();
        int GetAsrSampleRate() { return para_handle_->asr_sample_rate; };
        // 2pass
        std::string online_res;
        int chunk_len;