bugfix: CLDeconvolutionLayer::validate fails if bias==NULL (#439)
authorwr0112358 <wr0112358@gmail.com>
Mon, 14 May 2018 08:13:56 +0000 (10:13 +0200)
committerAnthony Barbier <Anthony.barbier@arm.com>
Mon, 14 May 2018 08:13:56 +0000 (09:13 +0100)
src/runtime/CL/functions/CLDeconvolutionLayer.cpp

index e3bbe0f..9e6c0b4 100644 (file)
@@ -62,8 +62,8 @@ Status CLDeconvolutionLayer::validate(const ITensorInfo *input, const ITensorInf
 
     const TensorShape output_shape = deconvolution_output_shape(out_dims, input->tensor_shape(), weights->tensor_shape());
 
-    ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(input, output, weights, bias);
-    ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_FIXED_POINT(input, output, weights, bias);
+    ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(input, output, weights);
+    ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_FIXED_POINT(input, output, weights);
 
     if(bias != nullptr)
     {