diff options
author | Gian Marco <gianmarco.iodice@arm.com> | 2017-11-08 10:19:21 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 1a39f6d6c0d6caa4b753d9f1542bc8621c5e293d (patch) | |
tree | 16672deb524feb391e9beb1d3511eaee072264b9 /tests/validation/fixtures/Box3x3Fixture.h | |
parent | 9f20bda35e61e5f80dcd0c9f4cbb9646ebf0e493 (diff) | |
download | ComputeLibrary-1a39f6d6c0d6caa4b753d9f1542bc8621c5e293d.tar.gz |
COMPMID-669 - Add validation for different border modes
- Box3x3
- Dilate
- Erode
- Gaussian 3x3
- Gaussian 5x5
- Median 3x3
Change-Id: I09a1a4c6fcdf62805626d73386ec56651bd40fb4
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/94862
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/validation/fixtures/Box3x3Fixture.h')
-rw-r--r-- | tests/validation/fixtures/Box3x3Fixture.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/validation/fixtures/Box3x3Fixture.h b/tests/validation/fixtures/Box3x3Fixture.h index a53987a15d..1aa958a11b 100644 --- a/tests/validation/fixtures/Box3x3Fixture.h +++ b/tests/validation/fixtures/Box3x3Fixture.h @@ -52,8 +52,9 @@ public: std::uniform_int_distribution<uint8_t> distribution(0, 255); const uint8_t constant_border_value = distribution(gen); - _target = compute_target(shape, data_type, border_mode, constant_border_value); - _reference = compute_reference(shape, data_type, border_mode, constant_border_value); + _border_mode = border_mode; + _target = compute_target(shape, data_type, border_mode, constant_border_value); + _reference = compute_reference(shape, data_type, border_mode, constant_border_value); } protected: |