Browse Source

fix log info, GELOGI must has not failed

pull/545/head
hanjain 3 years ago
parent
commit
e51409db6a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      parser/caffe/caffe_parser.cc
  2. +1
    -1
      parser/common/pre_checker.cc

+ 1
- 1
parser/caffe/caffe_parser.cc View File

@@ -991,7 +991,7 @@ Status CaffeModelParser::AddTensorDescToOpDescByIr(ge::OpDescPtr &op_desc, const
GELOGI("op [%s], type[%s], update output(%d) with name %s %s",
op_desc->GetName().c_str(), op_desc->GetType().c_str(),
i, op_desc->GetOutputNameByIndex(i).c_str(),
ret == ge::GRAPH_SUCCESS ? "success" : "failed");
ret == ge::GRAPH_SUCCESS ? "success" : "not success");
}
}
return SUCCESS;


+ 1
- 1
parser/common/pre_checker.cc View File

@@ -250,7 +250,7 @@ Status PreChecker::CheckTypeSupported(OpId id, const string &type, const string
Cause cause;
cause.code = ErrorCode::TYPE_UNSUPPORTED;
cause.message = "The type is not supported.";
GELOGI("Check op[%s]'s type[%s] failed, it is not supported.", name.c_str(), type.c_str());
GELOGI("Check op[%s]'s type[%s], The type is not supported.", name.c_str(), type.c_str());
if (!is_tensorflow) {
ErrorManager::GetInstance().ATCReportErrMessage("E19010", {"opname", "optype"}, {name, type});
}


Loading…
Cancel
Save