From 0d484181afd434843c19c94a3cd07633c1089302 Mon Sep 17 00:00:00 2001 From: "wangwenhua1@huawei.com" Date: Tue, 17 Nov 2020 17:53:57 +0800 Subject: [PATCH] error message add format --- .../formats/format_transfers/format_transfer_dhwcn_fracz3D.cc | 2 +- .../formats/format_transfers/format_transfer_nchw_fz_c04.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ge/common/formats/format_transfers/format_transfer_dhwcn_fracz3D.cc b/ge/common/formats/format_transfers/format_transfer_dhwcn_fracz3D.cc index e44bd9a1..79af84f7 100644 --- a/ge/common/formats/format_transfers/format_transfer_dhwcn_fracz3D.cc +++ b/ge/common/formats/format_transfers/format_transfer_dhwcn_fracz3D.cc @@ -148,7 +148,7 @@ Status FormatTransferDhwcnFractalZ3D::TransFormat(const TransArgs &args, TransRe if (ret != SUCCESS) { return ret; } - if (!IsTransShapeCorrect(args, expect_shape)) { + if (!IsTransShapeDstCorrect(args, expect_shape)) { return PARAM_INVALID; } diff --git a/ge/common/formats/format_transfers/format_transfer_nchw_fz_c04.cc b/ge/common/formats/format_transfers/format_transfer_nchw_fz_c04.cc index d521b1e3..275d9f10 100644 --- a/ge/common/formats/format_transfers/format_transfer_nchw_fz_c04.cc +++ b/ge/common/formats/format_transfers/format_transfer_nchw_fz_c04.cc @@ -280,7 +280,7 @@ Status FormatTransferNchwToFZC04::TransFormat(const TransArgs &args, TransResult return ret; } - if (!IsTransShapeCorrect(args_tmp, expect_shape)) { + if (!IsTransShapeDstCorrect(args_tmp, expect_shape)) { return PARAM_INVALID; }