From 2abae40cc1cae1e9c5cbddefae2c29fdf8a9465e Mon Sep 17 00:00:00 2001 From: "liyihan2@huawei.com" Date: Mon, 29 Mar 2021 19:45:35 +0800 Subject: [PATCH] common formats log optimize --- .../formats/format_transfers/format_transfer_fractal_nz.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ge/common/formats/format_transfers/format_transfer_fractal_nz.cc b/ge/common/formats/format_transfers/format_transfer_fractal_nz.cc index d647b7f5..ea8f2516 100755 --- a/ge/common/formats/format_transfers/format_transfer_fractal_nz.cc +++ b/ge/common/formats/format_transfers/format_transfer_fractal_nz.cc @@ -336,7 +336,7 @@ Status FormatTransferFractalNz::TransShape(Format src_format, const ShapeVector GELOGE(ACL_ERROR_GE_DATATYPE_INVALID, "[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(), - 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", "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(), @@ -349,7 +349,7 @@ Status FormatTransferFractalNz::TransShape(Format src_format, const ShapeVector TypeUtils::FormatToSerialString(src_format).c_str(), TypeUtils::FormatToSerialString(dst_format).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", - 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()); return ACL_ERROR_GE_SHAPE_INVALID; }