From fd43adaedf56aca00112e5dbbc799303d5982dd3 Mon Sep 17 00:00:00 2001 From: "liyihan2@huawei.com" Date: Tue, 9 Mar 2021 17:02:52 +0800 Subject: [PATCH] log optimize --- ge/common/op/ge_op_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/common/op/ge_op_utils.cc b/ge/common/op/ge_op_utils.cc index fc2990b6..8d07004b 100644 --- a/ge/common/op/ge_op_utils.cc +++ b/ge/common/op/ge_op_utils.cc @@ -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; }