From ed3e085f78c6d618eaf6bc78eb11ea9d77a1e298 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期六, 22 四月 2023 09:50:46 +0800
Subject: [PATCH] infer.sh
---
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