From 720264917e9637e417746236fee672c215a4df3f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Shubham=20Gupta/SNAP=20/SRI-Bangalore/Engineer/=EC=82=BC?= =?utf8?q?=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 7 Jan 2019 07:46:30 +0530 Subject: [PATCH] Correcting assertion in transposeConv CPU implementation (#4153) This patch will correct the position of bracket which has been wrongly placed. Signed-off-by: shubham --- runtimes/pure_arm_compute/src/internal/layers/SimpleTransposeConv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtimes/pure_arm_compute/src/internal/layers/SimpleTransposeConv.cc b/runtimes/pure_arm_compute/src/internal/layers/SimpleTransposeConv.cc index ee6c806..abc2912 100644 --- a/runtimes/pure_arm_compute/src/internal/layers/SimpleTransposeConv.cc +++ b/runtimes/pure_arm_compute/src/internal/layers/SimpleTransposeConv.cc @@ -58,7 +58,7 @@ inline void ApplyTransposeConv( assert(batches == output_shape[axises[0]]); assert(input_depth == filter_shape[axises[3]]); - assert(filter_shape[axises[0] == output_depth]); + assert(filter_shape[axises[0]] == output_depth); // Although transpose convolution simplifies to convolution with transposed // weights for strides of 1, non-unitary striding complicates matters. To -- 2.7.4