Correcting assertion in transposeConv CPU implementation (#4153)
authorShubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 <shub98.gupta@samsung.com>
Mon, 7 Jan 2019 02:16:30 +0000 (07:46 +0530)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 7 Jan 2019 02:16:30 +0000 (11:16 +0900)
This patch will correct the position of bracket which has
been wrongly placed.

Signed-off-by: shubham <shub98.gupta@samsung.com>
runtimes/pure_arm_compute/src/internal/layers/SimpleTransposeConv.cc

index ee6c806..abc2912 100644 (file)
@@ -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