From fd22b6e7f36e963ef29dbd3eafb0e0d6f2e12fa7 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期三, 09 八月 2023 14:27:20 +0800
Subject: [PATCH] Merge branch 'main' of https://github.com/alibaba-damo-academy/FunASR into main
---
funasr/runtime/onnxruntime/src/commonfunc.h | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/commonfunc.h b/funasr/runtime/onnxruntime/src/commonfunc.h
index b74c1c1..84cdbaf 100644
--- a/funasr/runtime/onnxruntime/src/commonfunc.h
+++ b/funasr/runtime/onnxruntime/src/commonfunc.h
@@ -4,19 +4,20 @@
namespace funasr {
typedef struct
{
- std::string msg;
- float snippet_time;
+ std::string msg="";
+ std::string tpass_msg="";
+ float snippet_time=0;
}FUNASR_RECOG_RESULT;
typedef struct
{
std::vector<std::vector<int>>* segments;
- float snippet_time;
+ float snippet_time=0;
}FUNASR_VAD_RESULT;
typedef struct
{
- string msg;
+ string msg=0;
vector<string> arr_cache;
}FUNASR_PUNC_RESULT;
--
Gitblit v1.9.1