From cbbb3007436bf7cefa45af9a5aad60c696da9732 Mon Sep 17 00:00:00 2001
From: Lizerui9926 <110582652+Lizerui9926@users.noreply.github.com>
Date: 星期一, 03 四月 2023 20:01:28 +0800
Subject: [PATCH] Merge pull request #324 from alibaba-damo-academy/dev_lhn2
---
funasr/runtime/onnxruntime/src/paraformer_onnx.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/paraformer_onnx.h b/funasr/runtime/onnxruntime/src/paraformer_onnx.h
index db00842..395c328 100644
--- a/funasr/runtime/onnxruntime/src/paraformer_onnx.h
+++ b/funasr/runtime/onnxruntime/src/paraformer_onnx.h
@@ -11,9 +11,13 @@
FeatureExtract* fe;
Vocab* vocab;
+ vector<float> means_list;
+ vector<float> vars_list;
+ const float scale = 22.6274169979695;
void apply_lfr(Tensor<float>*& din);
void apply_cmvn(Tensor<float>* din);
+ void load_cmvn(const char *filename);
string greedy_search( float* in, int nLen);
--
Gitblit v1.9.1