Browse Source

common log optimize

pull/1572/head
liyihan2@huawei.com 4 years ago
parent
commit
1a83c79f47
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/common/op/ge_op_utils.cc

+ 1
- 1
ge/common/op/ge_op_utils.cc View File

@@ -449,7 +449,7 @@ OpUtils::GetShapeDataFromConstTensor(const ConstGeTensorPtr &tensor, DataType ty
GELOGE(PARAM_INVALID, "[Check][Param]The dimension of the input tensor shape " GELOGE(PARAM_INVALID, "[Check][Param]The dimension of the input tensor shape "
"cannot be more than 1, it is %zu", "cannot be more than 1, it is %zu",
tensor->GetTensorDesc().GetShape().GetDims().size()); tensor->GetTensorDesc().GetShape().GetDims().size());
REPORT_CALL_ERRPR("E19999", "The dimension of the input tensor shape %zu invalid, "
REPORT_CALL_ERROR("E19999", "The dimension of the input tensor shape %zu invalid, "
"more than 1", tensor->GetTensorDesc().GetShape().GetDims().size()); "more than 1", tensor->GetTensorDesc().GetShape().GetDims().size());
return PARAM_INVALID; return PARAM_INVALID;
} }


Loading…
Cancel
Save