Browse Source

log optimize

pull/1215/head
liyihan2@huawei.com 4 years ago
parent
commit
fd43adaedf
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

@@ -442,7 +442,7 @@ OpUtils::GetShapeDataFromConstTensor(const ConstGeTensorPtr &tensor, DataType ty

// If the tensor data is a vector, the shape dimension must be 1
if (tensor->GetTensorDesc().GetShape().GetDims().size() > 1) {
GELOGE(PARAM_INVALID, "The dimension of the input tensor shape cannot be more than 1, it is %zu",
GELOGE(PARAM_INVALID, "The dimension of the input tensor shape cannot be more than 1, it is %zu.",
tensor->GetTensorDesc().GetShape().GetDims().size());
return PARAM_INVALID;
}


Loading…
Cancel
Save