Browse Source

format log optimize

tags/v1.3.0
liyihan2@huawei.com 4 years ago
parent
commit
4566fb69c0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ge/common/formats/formats.cc

+ 2
- 2
ge/common/formats/formats.cc View File

@@ -45,9 +45,9 @@ GE_FUNC_DEV_VISIBILITY GE_FUNC_HOST_VISIBILITY Status TransFormat(const TransArg
auto src_shape_size = GetItemNumByShape(args.src_shape);
if (args.data == nullptr && src_shape_size != 0) {
GELOGE(ACL_ERROR_GE_PARAM_INVALID, "[Check][Shape]Failed, input data is null, src_shape %s",
TypeUtils::DataTypeToSerialString(args.src_shape).c_str());
ShapeToString(args.src_shape).c_str());
REPORT_CALL_ERROR("E19999","Failed to chech shape, input data is null, src_shape %s",
TypeUtils::DataTypeToSerialString(args.src_shape).c_str());
ShapeToString(args.src_shape).c_str());
return ACL_ERROR_GE_PARAM_INVALID;
}



Loading…
Cancel
Save