From 19ea419e7f14d02aeb208c2fbd5a4ac55f4cb101 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 19 Jun 2018 13:09:53 +0100 Subject: COMPMID-809: Add NHWC data format on CLGEMMConvolutionLayer. Change-Id: I50e4f5e7d47e21c300f754bee2c216863075b5cf Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/136191 Tested-by: Jenkins Reviewed-by: Giorgio Arena Reviewed-by: Gian Marco Iodice --- arm_compute/core/utils/misc/ShapeCalculator.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arm_compute/core/utils/misc/ShapeCalculator.h') diff --git a/arm_compute/core/utils/misc/ShapeCalculator.h b/arm_compute/core/utils/misc/ShapeCalculator.h index f64cf9d6ae..115cbe688d 100644 --- a/arm_compute/core/utils/misc/ShapeCalculator.h +++ b/arm_compute/core/utils/misc/ShapeCalculator.h @@ -110,6 +110,7 @@ inline TensorShape compute_reductionB_shape(const ITensorInfo &a) inline TensorShape compute_col2im_shape(const ITensorInfo &input, std::pair convolved_dims) { TensorShape col2im_shape{ input.tensor_shape() }; + col2im_shape.shift_right(1); col2im_shape.set(0, convolved_dims.first); col2im_shape.set(1, convolved_dims.second); col2im_shape.set(2, input.tensor_shape()[0]); -- cgit v1.2.1