summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2018-11-07 19:45:07 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2018-11-07 19:45:07 +0100
commit6f67525ea693d0761c479b060c04ce93d408beb5 (patch)
tree8e76bcfa9bf9d067a3969c70023634c66a9657f4 /test
parent2d32a23293cdc5e0e34160e9ee4f15dc824592b3 (diff)
Changed col2im to append to the existing im-buffer
Diffstat (limited to 'test')
-rw-r--r--test/routines/levelx/xcol2im.hpp8
1 files changed, 0 insertions, 8 deletions
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<T> &args, BuffersHost<T> &buffers_host)
const auto col_h = TestXcol2im<T>::ColHeight(args);
const auto col_w = TestXcol2im<T>::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