From 6fd83d23ee64280d30fd99f0fe2ca0f52903dca1 Mon Sep 17 00:00:00 2001 From: Marlowe <54339989+ZihanLiao@users.noreply.github.com> Date: 星期五, 14 六月 2024 10:36:28 +0800 Subject: [PATCH] fix paramter 'quantize' unused issue (#1813) --- runtime/onnxruntime/include/funasrruntime.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/onnxruntime/include/funasrruntime.h b/runtime/onnxruntime/include/funasrruntime.h index cc9ba3d..ac9a3bd 100644 --- a/runtime/onnxruntime/include/funasrruntime.h +++ b/runtime/onnxruntime/include/funasrruntime.h @@ -106,9 +106,9 @@ _FUNASRAPI FUNASR_RESULT FunOfflineInfer(FUNASR_HANDLE handle, const char* sz_filename, FUNASR_MODE mode, QM_CALLBACK fn_callback, const std::vector<std::vector<float>> &hw_emb, int sampling_rate=16000, bool itn=true, FUNASR_DEC_HANDLE dec_handle=nullptr); -#if !defined(__APPLE__) +//#if !defined(__APPLE__) _FUNASRAPI const std::vector<std::vector<float>> CompileHotwordEmbedding(FUNASR_HANDLE handle, std::string &hotwords, ASR_TYPE mode=ASR_OFFLINE); -#endif +//#endif _FUNASRAPI void FunOfflineUninit(FUNASR_HANDLE handle); -- Gitblit v1.9.1