zhuzizyf
2023-04-22 965797ecf087dd71ff6fb3b2bb3c18fdede07db0
funasr/runtime/onnxruntime/src/commonfunc.h
@@ -1,17 +1,14 @@
#pragma once 
typedef struct
{
    std::string msg;
    float  snippet_time;
}RPASR_RECOG_RESULT;
}FUNASR_RECOG_RESULT;
#ifdef _WIN32
#include <codecvt>
inline std::wstring string2wstring(const std::string& str, const std::string& locale)
{
@@ -28,8 +25,6 @@
}
#endif
inline void getInputName(Ort::Session* session, string& inputName,int nIndex=0) {
    size_t numInputNodes = session->GetInputCount();
@@ -53,4 +48,4 @@
        }
    }
}
}