|
|
|
@@ -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; |
|
|
|
} |
|
|
|
|