Browse Source

error message add

tags/v1.1.0
wangwenhua1@huawei.com 4 years ago
parent
commit
9396238bfa
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      ge/graph/preprocess/insert_op/util_insert_aipp_op.cc

+ 1
- 4
ge/graph/preprocess/insert_op/util_insert_aipp_op.cc View File

@@ -124,10 +124,7 @@ Status InsertNewOpUtil::CheckInputNamePositionNotRepeat() {
if (another_item->related_input_name().empty()) {
string error_msg = "Can not both set related_input_name and related_input_rank!"
" Please ensure param is the same with the first aipp config(related_input_name).";
ErrorManager::GetInstance().ATCReportErrMessage("E10043", {"reason"}, {error_msg});
GELOGE(PARAM_INVALID,
"Can not both set related_input_rank and related_input_name!"
" Please ensure param is the same with the first aipp config(related_input_name).");
GE_ERRORLOG_AND_ERRORMSG(PARAM_INVALID, error_msg)
return PARAM_INVALID;
}
if (item->related_input_name() == another_item->related_input_name()) {


Loading…
Cancel
Save