From 76e3e8445a72ece8dd3eb30a129ec141c2746e8a Mon Sep 17 00:00:00 2001
From: lyblsgo <lyblsgo@163.com>
Date: 星期一, 08 五月 2023 11:28:45 +0800
Subject: [PATCH] update readme
---
funasr/runtime/onnxruntime/src/commonfunc.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/commonfunc.h b/funasr/runtime/onnxruntime/src/commonfunc.h
index ade6922..d5298c3 100644
--- a/funasr/runtime/onnxruntime/src/commonfunc.h
+++ b/funasr/runtime/onnxruntime/src/commonfunc.h
@@ -6,6 +6,12 @@
float snippet_time;
}FUNASR_RECOG_RESULT;
+typedef struct
+{
+ std::vector<std::vector<int>>* segments;
+ float snippet_time;
+}FUNASR_VAD_RESULT;
+
#ifdef _WIN32
#include <codecvt>
@@ -33,7 +39,6 @@
{
auto t = session->GetInputNameAllocated(nIndex, allocator);
inputName = t.get();
-
}
}
}
@@ -45,7 +50,6 @@
{
auto t = session->GetOutputNameAllocated(nIndex, allocator);
outputName = t.get();
-
}
}
}
--
Gitblit v1.9.1