diff options
author | SiCong Li <sicong.li@arm.com> | 2017-06-19 13:41:45 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:14:20 +0100 |
commit | bacaf9af9b23b01e646a2e206e119a9d8e099a70 (patch) | |
tree | 7a30f22a6b1176102204077806dc0a6f1a46138d /tests/validation/Reference.h | |
parent | 50f9fd73536fd359137702ac9c42c9a1c61ff415 (diff) | |
download | ComputeLibrary-bacaf9af9b23b01e646a2e206e119a9d8e099a70.tar.gz |
COMPMID-424 Add CL validation tests for Box3x3
* Add tests for different border modes
* Add padding calculator
Change-Id: Ic4708faddfb1c8e6b59d349cf9cb48c9a181d717
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/78105
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
Diffstat (limited to 'tests/validation/Reference.h')
-rw-r--r-- | tests/validation/Reference.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/validation/Reference.h b/tests/validation/Reference.h index 4cfd3c24c8..973322d666 100644 --- a/tests/validation/Reference.h +++ b/tests/validation/Reference.h @@ -152,13 +152,15 @@ public: * @return Computed raw tensor. */ static RawTensor compute_reference_bitwise_not(const TensorShape &shape); - /** Compute reference 3-by-3 box filter. + /** Compute reference box3x3 filter. * - * @param[in] shape Shape of the input and output tensors. + * @param[in] shape Shape of the input and output tensors. + * @param[in] border_mode BorderMode used by the input tensor. + * @param[in] constant_border_value Constant to use if @p border_mode == CONSTANT. * * @return Computed raw tensor. */ - static RawTensor compute_reference_box3x3(const TensorShape &shape); + static RawTensor compute_reference_box3x3(const TensorShape &shape, BorderMode border_mode, uint8_t constant_border_value); /** Compute reference depth convert. * * @param[in] shape Shape of the input and output tensors. |