游雁
2024-01-14 8912e0696af069de47646fdb8a9d9c4e086e88b3
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;