diff options
author | SiCong Li <sicong.li@arm.com> | 2020-08-05 15:04:00 +0100 |
---|---|---|
committer | SiCong Li <sicong.li@arm.com> | 2020-08-11 13:04:57 +0000 |
commit | f650ea5be66be5c7b16faf5482e793e3a6d2430c (patch) | |
tree | a4140b49225fef07d418a13ac981af02ca94c42f /tests/datasets | |
parent | 77d3d2445fa590dee505c4171daef9dd6c8124ca (diff) | |
download | ComputeLibrary-f650ea5be66be5c7b16faf5482e793e3a6d2430c.tar.gz |
COMPMID-3339: Patch2: Remove paddings from im2col*_nhwc cl kernel
* Remove channel paddings from all nhwc kernels (im2col_3x3_nhwc,
im2col_9x9_nhwc, im2col_generic_nhwc)
* Validate that input total spatial dimensions (with x and y paddings)
are bigger than or equal to the kernel spatial dimension.
- Otherwise it would result in invalid memory reads.
- This problem likely existed before, but was made obvious with the
removal of implicit paddings
* Add zero padding validation tests
* Fix Im2ColValidationFixture by not permuting the input shape in case of
NHWC
Change-Id: I1f895e8938af0e9130cb516106f0b4b665531709
Signed-off-by: SiCong Li <sicong.li@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3696
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/datasets')
0 files changed, 0 insertions, 0 deletions