diff options
author | Abe Mbise <abe.mbise@arm.com> | 2017-09-07 18:21:28 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 7905f91d0765ea59cf0aadc2a338135f4965586f (patch) | |
tree | f55e48bbd9029b87ced017cd4678deb940d2663a /tests/validation_old/ReferenceCPP.cpp | |
parent | ff1c360815c268b1f526ba7c16919fd021868a67 (diff) | |
download | ComputeLibrary-7905f91d0765ea59cf0aadc2a338135f4965586f.tar.gz |
COMPMID-499: Port Gaussian 3x3 and 5x5 to new validation
Change-Id: Icb82186cb97bd8d6e2c4c63f050ee44e5d753ff7
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/86926
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
Diffstat (limited to 'tests/validation_old/ReferenceCPP.cpp')
-rw-r--r-- | tests/validation_old/ReferenceCPP.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/validation_old/ReferenceCPP.cpp b/tests/validation_old/ReferenceCPP.cpp index 55aac59211..e10f9065a0 100644 --- a/tests/validation_old/ReferenceCPP.cpp +++ b/tests/validation_old/ReferenceCPP.cpp @@ -140,24 +140,6 @@ void ReferenceCPP::accumulate_weighted(const RawTensor &src, RawTensor &dst, flo tensor_operations::accumulate_weighted(s, d, alpha); } -// Gaussian3x3 filter -void ReferenceCPP::gaussian3x3(const RawTensor &src, RawTensor &dst, BorderMode border_mode, uint8_t constant_border_value) -{ - ARM_COMPUTE_ERROR_ON(src.data_type() != DataType::U8 || dst.data_type() != DataType::U8); - const Tensor<uint8_t> s(src.shape(), src.data_type(), src.fixed_point_position(), reinterpret_cast<const uint8_t *>(src.data())); - Tensor<uint8_t> d(dst.shape(), dst.data_type(), dst.fixed_point_position(), reinterpret_cast<uint8_t *>(dst.data())); - tensor_operations::gaussian3x3(s, d, border_mode, constant_border_value); -} - -// Gaussian5x5 filter -void ReferenceCPP::gaussian5x5(const RawTensor &src, RawTensor &dst, BorderMode border_mode, uint8_t constant_border_value) -{ - ARM_COMPUTE_ERROR_ON(src.data_type() != DataType::U8 || dst.data_type() != DataType::U8); - const Tensor<uint8_t> s(src.shape(), src.data_type(), src.fixed_point_position(), reinterpret_cast<const uint8_t *>(src.data())); - Tensor<uint8_t> d(dst.shape(), dst.data_type(), dst.fixed_point_position(), reinterpret_cast<uint8_t *>(dst.data())); - tensor_operations::gaussian5x5(s, d, border_mode, constant_border_value); -} - // Non linear filter void ReferenceCPP::non_linear_filter(const RawTensor &src, RawTensor &dst, NonLinearFilterFunction function, unsigned int mask_size, MatrixPattern pattern, const uint8_t *mask, BorderMode border_mode, uint8_t constant_border_value) |