Skip to content

Commit 67c8c91

Browse files
wr0112358AnthonyBarbier
authored andcommitted
bugfix: CLDeconvolutionLayer::validate fails if bias==NULL (#439)
1 parent 02c62c8 commit 67c8c91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/CL/functions/CLDeconvolutionLayer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Status CLDeconvolutionLayer::validate(const ITensorInfo *input, const ITensorInf
6262

6363
const TensorShape output_shape = deconvolution_output_shape(out_dims, input->tensor_shape(), weights->tensor_shape());
6464

65-
ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(input, output, weights, bias);
66-
ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_FIXED_POINT(input, output, weights, bias);
65+
ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(input, output, weights);
66+
ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_FIXED_POINT(input, output, weights);
6767

6868
if(bias != nullptr)
6969
{

0 commit comments

Comments
 (0)