funasr/runtime/onnxruntime/src/commonfunc.h
@@ -1,4 +1,12 @@ #pragma once typedef struct { std::string msg; float snippet_time; }FUNASR_RECOG_RESULT; #ifdef _WIN32 #include <codecvt> @@ -17,8 +25,6 @@ } #endif inline void getInputName(Ort::Session* session, string& inputName,int nIndex=0) { size_t numInputNodes = session->GetInputCount(); @@ -42,4 +48,4 @@ } } } }