Browse Source

fix

tags/v1.1.0
chuxing 3 years ago
parent
commit
f38e4ae425
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/offline/single_op_parser.cc

+ 1
- 1
ge/offline/single_op_parser.cc View File

@@ -149,7 +149,7 @@ std::string GenerateFileName(const SingleOpDesc &single_op_desc, int index) {
}
}

std:string file_name = file_name_ss.str();
std::string file_name = file_name_ss.str();
if (file_name.length() > kMaxFileNameLen) {
GELOGI("Trim file name for it is too long, origin file name = %s", file_name.c_str());
file_name = file_name.substr(0, kMaxFileNameLen);


Loading…
Cancel
Save