This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM compute library deconvolution validate() function boundary check

In ARM compute libarary 21.08 deconvolution validate() function has a boundary check, https://github.com/ARM-software/ComputeLibrary/blob/v21.08/src/runtime/NEON/functions/NEDeconvolutionLayer.cpp

code portion:

const unsigned int out_x = (input->dimension(idx_w) - 1) * stride_x + 1;

ARM_COMPUTE_RETURN_ERROR_ON(weights->dimension(idx_w) > out_x);

Is this check correct? Since It violate for input weight as 1, weight width as 2 and stride as 2.