From 50d6c96383a45b5e1c520468f6cd62551e1f49da Mon Sep 17 00:00:00 2001 From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com> Date: 星期一, 21 八月 2023 15:58:58 +0800 Subject: [PATCH] Fix bug for mp4 in h5 (#882) --- funasr/runtime/onnxruntime/src/util.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/funasr/runtime/onnxruntime/src/util.h b/funasr/runtime/onnxruntime/src/util.h index cd3c3c9..df9abd1 100644 --- a/funasr/runtime/onnxruntime/src/util.h +++ b/funasr/runtime/onnxruntime/src/util.h @@ -27,6 +27,12 @@ string PathAppend(const string &p1, const string &p2); bool is_target_file(const std::string& filename, const std::string target); +void KeepChineseCharacterAndSplit(const std::string &input_str, + std::vector<std::string> &chinese_characters); + std::vector<std::string> split(const std::string &s, char delim); + +template<typename T> +void PrintMat(const std::vector<std::vector<T>> &mat, const std::string &name); } // namespace funasr #endif -- Gitblit v1.9.1