From c29e5071bdb0dea46a7778f3a8a08692458f19f1 Mon Sep 17 00:00:00 2001
From: Marlowe <54339989+ZihanLiao@users.noreply.github.com>
Date: 星期五, 01 九月 2023 01:15:32 +0800
Subject: [PATCH] fix error:reference before assignment for write_flag when using kaldi_ark (#904)
---
funasr/runtime/onnxruntime/src/paraformer-online.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/paraformer-online.cpp b/funasr/runtime/onnxruntime/src/paraformer-online.cpp
index dd7e8e1..ed7a35a 100644
--- a/funasr/runtime/onnxruntime/src/paraformer-online.cpp
+++ b/funasr/runtime/onnxruntime/src/paraformer-online.cpp
@@ -469,7 +469,7 @@
return result;
}
-string ParaformerOnline::Forward(float* din, int len, bool input_finished)
+string ParaformerOnline::Forward(float* din, int len, bool input_finished, const std::vector<std::vector<float>> &hw_emb)
{
std::vector<std::vector<float>> wav_feats;
std::vector<float> waves(din, din+len);
--
Gitblit v1.9.1