Revert changes on tensor's strides and fix CLDepthwiseConvolution 3x3 Quantized
authorGiorgio Arena <giorgio.arena@arm.com>
Wed, 10 Feb 2021 11:54:47 +0000 (11:54 +0000)
committerGiorgio Arena <giorgio.arena@arm.com>
Wed, 10 Feb 2021 16:10:32 +0000 (16:10 +0000)
commitedc524ef7ed38e0521c874f28bb9a1f2407b44c6
tree64eab5750f0284ddc184f44a5e5b6e8b7472d59e
parentdb35345753e4ba81384c8a92ece6a8f598fd841a
Revert changes on tensor's strides and fix CLDepthwiseConvolution 3x3 Quantized

- Revert changes in strides > num_dimensions. Set them to 0
- Fix offset calculcation in depthwise 3x3 quantized using select and stride_y for max offset

Resolve COMPMID-4254

Change-Id: Ia99b9637f18b99b1fa3d4b7b4892046027d3e7e5
Signed-off-by: Giorgio Arena <giorgio.arena@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5040
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
src/core/CL/cl_kernels/depthwise_convolution_quantized.cl
src/core/CL/kernels/CLDepthwiseConvolutionLayer3x3NHWCKernel.cpp
src/core/CL/kernels/CLGEMMLowpMatrixMultiplyNativeKernel.cpp
src/core/CL/kernels/CLGEMMLowpMatrixMultiplyReshapedKernel.cpp
src/core/CL/kernels/CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel.cpp
src/core/CL/kernels/CLGEMMMatrixMultiplyKernel.cpp
src/core/CL/kernels/CLGEMMMatrixMultiplyNativeKernel.cpp
src/core/CL/kernels/CLGEMMMatrixMultiplyReshapedKernel.cpp
src/core/CL/kernels/CLGEMMMatrixMultiplyReshapedOnlyRHSKernel.cpp
src/core/helpers/Utils.h
tests/validation/UNIT/TensorInfo.cpp