From 0bb5d87d1ee98289bbe241e1f2caf1ab8e64c69c Mon Sep 17 00:00:00 2001
From: lyblsgo <lyblsgo@163.com>
Date: 星期六, 22 四月 2023 20:34:07 +0800
Subject: [PATCH] Merge branch 'dev_knf' of https://github.com/alibaba-damo-academy/FunASR into dev_knf
---
funasr/runtime/onnxruntime/src/commonfunc.h | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/commonfunc.h b/funasr/runtime/onnxruntime/src/commonfunc.h
index 3f3c53a..8d1a97c 100644
--- a/funasr/runtime/onnxruntime/src/commonfunc.h
+++ b/funasr/runtime/onnxruntime/src/commonfunc.h
@@ -1,4 +1,12 @@
#pragma once
+
+typedef struct
+{
+ std::string msg;
+ float snippet_time;
+}FUNASR_RECOG_RESULT;
+
+
#ifdef _WIN32
#include <codecvt>
@@ -17,8 +25,6 @@
}
#endif
-
-
inline void getInputName(Ort::Session* session, string& inputName,int nIndex=0) {
size_t numInputNodes = session->GetInputCount();
@@ -42,4 +48,4 @@
}
}
-}
\ No newline at end of file
+}
--
Gitblit v1.9.1