From 9e32b684588de1358990d52a934e2ed1791e5daa Mon Sep 17 00:00:00 2001 From: zk <694972388@qq.com> Date: Tue, 23 Mar 2021 19:41:13 +0800 Subject: [PATCH] Transdata --- .../formats/format_transfers/format_transfer_fractal_z.cc | 6 ------ .../ut/ge/common/format_transfer_hwcn_fractalz_unittest.cc | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/ge/common/formats/format_transfers/format_transfer_fractal_z.cc b/ge/common/formats/format_transfers/format_transfer_fractal_z.cc index 458e7cea..f7eefd52 100644 --- a/ge/common/formats/format_transfers/format_transfer_fractal_z.cc +++ b/ge/common/formats/format_transfers/format_transfer_fractal_z.cc @@ -339,12 +339,6 @@ Status TransFormatHwcnToFzWithGroups(const TransArgs &args, TransResult &result, } result.data = dst; result.length = static_cast(size_output_data); - for (size_t i = 0; i < ((result.length) / 2); ++i) { - if((i+1)%16 == 0){ - std::cout<(result.data.get()))[i]<<" "; - } return SUCCESS; } Status TransFormatHwcnToFz(const TransArgs &args, TransResult &result) { diff --git a/tests/ut/ge/common/format_transfer_hwcn_fractalz_unittest.cc b/tests/ut/ge/common/format_transfer_hwcn_fractalz_unittest.cc index 85084fe3..651b733b 100644 --- a/tests/ut/ge/common/format_transfer_hwcn_fractalz_unittest.cc +++ b/tests/ut/ge/common/format_transfer_hwcn_fractalz_unittest.cc @@ -34461,7 +34461,7 @@ TEST_F(UtestFormatTransferHwcnFz, fp16_1c_1n_with_groups) { } } -TEST_F(UtestFormatTransferHwcnFz, fp16_1c_1n_with_groups_wewe) { +TEST_F(UtestFormatTransferHwcnFz, fp16_4c_8n_with_groups_02) { uint16_t data[3 * 3 * 4 * 8] = { 11 , 99 , 68 , 2 , 14 , 59 , 24 , 100, 4 , 65 , 11 , 7 , 74 , 28 , 71 , 81,