Browse Source

format log optimize

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

+ 1
- 1
ge/common/formats/format_transfers/format_transfer_nchw_fz_c04.cc View File

@@ -110,7 +110,7 @@ Status TransFormatFromNchwToFzC04(const TransArgs &args, TransResult &result) {
// check size it should be same with original // check size it should be same with original
size_t expect_size = n * c * h * w * size; // before has do check about mul size_t expect_size = n * c * h * w * size; // before has do check about mul
if (trans_result_1.length != expect_size) { if (trans_result_1.length != expect_size) {
GELOGE(ACL_ERROR_GE_PARAM_INVALID, "[Check][Shape]size %zu is not match expect size %u after transpose",
GELOGE(ACL_ERROR_GE_PARAM_INVALID, "[Check][Shape]size %zu is not match expect size %zu after transpose",
trans_result_1.length, expect_size); trans_result_1.length, expect_size);
return ACL_ERROR_GE_PARAM_INVALID; return ACL_ERROR_GE_PARAM_INVALID;
} }


Loading…
Cancel
Save