error message add

pull/295/head
wangwenhua1@huawei.com 4 years ago
parent 272b16959a
commit 121b9f7a21

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

Loading…
Cancel
Save