Browse Source

error message add

tags/v1.1.0
wangwenhua1@huawei.com 3 years ago
parent
commit
121b9f7a21
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/preprocess/insert_op/ge_aipp_op.cc

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

@@ -784,7 +784,7 @@ Status AippOp::CreateAippData(const NodePtr &aipp_node) {
}
if (batch_count <= 0) {
string error_msg = "Batch count[" + std::to_string(batch_count) + "] is invalid, it must positive.";
GE_ERRORLOG_AND_ERRORMSG(PARAM_INVALID, error_msg_c_str());
GE_ERRORLOG_AND_ERRORMSG(PARAM_INVALID, error_msg.c_str());
return PARAM_INVALID;
}



Loading…
Cancel
Save