Browse Source

common formats log optimize

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

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

@@ -336,7 +336,7 @@ Status FormatTransferFractalNz::TransShape(Format src_format, const ShapeVector
GELOGE(ACL_ERROR_GE_DATATYPE_INVALID, GELOGE(ACL_ERROR_GE_DATATYPE_INVALID,
"[Check][Datatype]Failed, trans format from %s to %s, src shape %s, data type %s is not supported", "[Check][Datatype]Failed, trans format from %s to %s, src shape %s, data type %s is not supported",
TypeUtils::FormatToSerialString(src_format).c_str(), TypeUtils::FormatToSerialString(dst_format).c_str(), TypeUtils::FormatToSerialString(src_format).c_str(), TypeUtils::FormatToSerialString(dst_format).c_str(),
ShapeToString(args.src_shape).c_str(), TypeUtils::DataTypeToSerialString(data_type).c_str());
ShapeToString(src_shape).c_str(), TypeUtils::DataTypeToSerialString(data_type).c_str());
REPORT_INNER_ERROR("E19999", REPORT_INNER_ERROR("E19999",
"Check datatype failed, trans format from %s to %s, src shape %s, data type %s is not supported", "Check datatype failed, trans format from %s to %s, src shape %s, data type %s is not supported",
TypeUtils::FormatToSerialString(src_format).c_str(),TypeUtils::FormatToSerialString(dst_format).c_str(), TypeUtils::FormatToSerialString(src_format).c_str(),TypeUtils::FormatToSerialString(dst_format).c_str(),
@@ -349,7 +349,7 @@ Status FormatTransferFractalNz::TransShape(Format src_format, const ShapeVector
TypeUtils::FormatToSerialString(src_format).c_str(), TypeUtils::FormatToSerialString(dst_format).c_str(), TypeUtils::FormatToSerialString(src_format).c_str(), TypeUtils::FormatToSerialString(dst_format).c_str(),
ShapeToString(src_shape).c_str(), TypeUtils::DataTypeToSerialString(data_type).c_str()); ShapeToString(src_shape).c_str(), TypeUtils::DataTypeToSerialString(data_type).c_str());
REPORT_INNER_ERROR("E19999", "Check shape failed, trans format from %s to %s, src shape %s, data type %s is not supported", REPORT_INNER_ERROR("E19999", "Check shape failed, trans format from %s to %s, src shape %s, data type %s is not supported",
TypeUtils::FormatToSerialString(src_format).c_str(), TypeUtils::FormatToSerialString(args.dst_format).c_str(),
TypeUtils::FormatToSerialString(src_format).c_str(), TypeUtils::FormatToSerialString(dst_format).c_str(),
ShapeToString(src_shape).c_str(), TypeUtils::DataTypeToSerialString(data_type).c_str()); ShapeToString(src_shape).c_str(), TypeUtils::DataTypeToSerialString(data_type).c_str());
return ACL_ERROR_GE_SHAPE_INVALID; return ACL_ERROR_GE_SHAPE_INVALID;
} }


Loading…
Cancel
Save