游雁
2023-05-08 fd1aa6b079240ab528e63fd0cfb6685f90f60f8a
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();
        }
    }
}