From 70645e48072bf193fbf069949f1d2b10fddac8a3 Mon Sep 17 00:00:00 2001 From: pointerhacker <145901472+pointerhacker@users.noreply.github.com> Date: 星期二, 15 十月 2024 17:50:51 +0800 Subject: [PATCH] 数据并行可能导致的模型训练报错 (#2139) --- runtime/onnxruntime/src/util.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/runtime/onnxruntime/src/util.h b/runtime/onnxruntime/src/util.h index bb4e21a..89dacf6 100644 --- a/runtime/onnxruntime/src/util.h +++ b/runtime/onnxruntime/src/util.h @@ -49,6 +49,7 @@ std::string TimestampSmooth(std::string &text, std::string &text_itn, std::string &str_time); std::string TimestampSentence(std::string &text, std::string &str_time); std::vector<std::string> split(const std::string &s, char delim); +std::vector<std::string> SplitStr(const std::string &s, string delimiter); template<typename T> void PrintMat(const std::vector<std::vector<T>> &mat, const std::string &name); -- Gitblit v1.9.1