forked from mindspore-Ecosystem/mindspore
!5183 Added a size condition when printing overflow list
Merge pull request !5183 from AdelShafiei/Errorlog
This commit is contained in:
commit
23e9ebfa7e
|
@ -785,7 +785,10 @@ std::vector<std::string> Debugger::CheckOpOverflow() {
|
|||
MS_LOG(INFO) << "OverFlow bin directory does not exist!";
|
||||
}
|
||||
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) {
|
||||
if (i > last_overflow_bin_) {
|
||||
|
|
Loading…
Reference in New Issue