From 40eefbe376bd2e846bd9c451636f4e42ba1bf8bf Mon Sep 17 00:00:00 2001
From: zhuzizyf <42790740+zhuzizyf@users.noreply.github.com>
Date: 星期三, 12 四月 2023 17:18:19 +0800
Subject: [PATCH] Merge pull request #1 from zhuzizyf/fix-dataset-bug
---
funasr/runtime/onnxruntime/src/commonfunc.h | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/commonfunc.h b/funasr/runtime/onnxruntime/src/commonfunc.h
index 3f3c53a..5198030 100644
--- a/funasr/runtime/onnxruntime/src/commonfunc.h
+++ b/funasr/runtime/onnxruntime/src/commonfunc.h
@@ -1,6 +1,17 @@
#pragma once
+
+
+typedef struct
+{
+ std::string msg;
+ float snippet_time;
+}FUNASR_RECOG_RESULT;
+
+
#ifdef _WIN32
#include <codecvt>
+
+
inline std::wstring string2wstring(const std::string& str, const std::string& locale)
{
@@ -42,4 +53,4 @@
}
}
-}
\ No newline at end of file
+}
--
Gitblit v1.9.1