From 2d65e5e754cf67ffa05e027156142e843d29bec4 Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期一, 17 四月 2023 10:59:34 +0800
Subject: [PATCH] update bicifparaformer forward
---
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