From 6f67525ea693d0761c479b060c04ce93d408beb5 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Wed, 7 Nov 2018 19:45:07 +0100 Subject: Changed col2im to append to the existing im-buffer --- test/routines/levelx/xcol2im.hpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'test') diff --git a/test/routines/levelx/xcol2im.hpp b/test/routines/levelx/xcol2im.hpp index 69e8c6c1..176fceae 100644 --- a/test/routines/levelx/xcol2im.hpp +++ b/test/routines/levelx/xcol2im.hpp @@ -160,14 +160,6 @@ StatusCode RunReference(const Arguments &args, BuffersHost &buffers_host) const auto col_h = TestXcol2im::ColHeight(args); const auto col_w = TestXcol2im::ColWidth(args); - for (auto c_id = size_t{0}; c_id < args.channels; ++c_id) { - for (auto h_index = size_t{0}; h_index < args.height; ++h_index) { - for (auto w_index = size_t{0}; w_index < args.width; ++w_index) { - const auto im_index = w_index + args.width * (h_index + args.height * c_id); - buffers_host.a_mat[im_index + args.a_offset] = 0; - } - } - } for (auto c_id = size_t{0}; c_id < args.channels; ++c_id) { // image channels for (auto kh_id = size_t{0}; kh_id < args.kernel_h; ++kh_id) { // kernel height for (auto kw_id = size_t{0}; kw_id < args.kernel_w; ++kw_id) { // kernel width -- cgit v1.2.3