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(); } } }