Browse Source

ge log optimize

tags/v1.3.0
liyihan2@huawei.com 4 years ago
parent
commit
a27b23778a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ge/common/dump/dump_op.cc
  2. +1
    -1
      ge/common/helper/model_helper.cc

+ 1
- 1
ge/common/dump/dump_op.cc View File

@@ -104,7 +104,7 @@ Status DumpOp::DumpOutput(aicpu::dump::Task &task) {
if (TensorUtils::GetTensorSizeInBytes(output_descs.at(i), output_size) != SUCCESS) {
GELOGE(ACL_ERROR_GE_INTERNAL_ERROR, "[Get][TensorSize]Failed, output %zu, node %s(%s),",
i, op_desc_->GetName().c_str(), op_desc_->GetType().c_str());
REPORT_CALL_ERROR("E19999", "Get output %zu tensor size pf node %s(%s) failed",
REPORT_CALL_ERROR("E19999", "Get output %zu tensor size of node %s(%s) failed",
i, op_desc_->GetName().c_str(), op_desc_->GetType().c_str());
return ACL_ERROR_GE_INTERNAL_ERROR;
}


+ 1
- 1
ge/common/helper/model_helper.cc View File

@@ -1040,7 +1040,7 @@ Status ModelTool::GetModelInfoFromOm(const char *model_file, ge::proto::ModelDef
ModelPartition ir_part;
ret = om_load_helper.GetModelPartition(MODEL_DEF, ir_part);
if (ret != SUCCESS) {
REPORT_INNER_ERROR("E19999", "Get model partition failed ,model_file %s", model_file);
REPORT_INNER_ERROR("E19999", "Get model partition failed, model_file %s", model_file);
GELOGE(ge::FAILED, "[Get][ModelPart]Failed, model_file %s", model_file);
return ret;
}


Loading…
Cancel
Save