提交 23e9ebfa 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!5183 Added a size condition when printing overflow list

Merge pull request !5183 from AdelShafiei/Errorlog
...@@ -785,7 +785,10 @@ std::vector<std::string> Debugger::CheckOpOverflow() { ...@@ -785,7 +785,10 @@ std::vector<std::string> Debugger::CheckOpOverflow() {
MS_LOG(INFO) << "OverFlow bin directory does not exist!"; MS_LOG(INFO) << "OverFlow bin directory does not exist!";
} }
closedir(d); closedir(d);
MS_LOG(ERROR) << "These operation overflows are detected " << op_names;
if (op_names.size()) {
MS_LOG(ERROR) << "These operation overflows are detected " << op_names;
}
for (auto &i : bin_list) { for (auto &i : bin_list) {
if (i > last_overflow_bin_) { if (i > last_overflow_bin_) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册