From 5c9bdfa238560b9c4a8d8a7d4b56c28496a3e094 Mon Sep 17 00:00:00 2001
From: aky15 <ankeyuthu@gmail.com>
Date: 星期四, 14 九月 2023 16:12:53 +0800
Subject: [PATCH] Merge pull request #952 from alibaba-damo-academy/aky15-patch-1

---
 funasr/runtime/onnxruntime/src/paraformer-online.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/paraformer-online.h b/funasr/runtime/onnxruntime/src/paraformer-online.h
index d0265f2..86ee363 100644
--- a/funasr/runtime/onnxruntime/src/paraformer-online.h
+++ b/funasr/runtime/onnxruntime/src/paraformer-online.h
@@ -101,7 +101,7 @@
         void AddOverlapChunk(std::vector<std::vector<float>> &wav_feats, bool input_finished);
         
         string ForwardChunk(std::vector<std::vector<float>> &wav_feats, bool input_finished);
-        string Forward(float* din, int len, bool input_finished);
+        string Forward(float* din, int len, bool input_finished, const std::vector<std::vector<float>> &hw_emb={{0.0}});
         string Rescoring();
         // 2pass
         std::string online_res;

--
Gitblit v1.9.1