diff options
author | John Richardson <john.richardson@arm.com> | 2017-09-07 11:21:10 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 6f4d49f95c3598e41a7532faa637f42d8be5f4dd (patch) | |
tree | 78bdf01c935b4f195d65a09cd734b63aba3bfe7a /tests/validation_old/Reference.cpp | |
parent | e997859ed978a42191e429f9357c95c38d84baaa (diff) | |
download | ComputeLibrary-6f4d49f95c3598e41a7532faa637f42d8be5f4dd.tar.gz |
COMPMID-504: Move NonLinearFilter to new validation
Change-Id: Ie2e9c34dd541cf570b9aef29d94ac79e2360e0e9
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87580
Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/validation_old/Reference.cpp')
-rw-r--r-- | tests/validation_old/Reference.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/validation_old/Reference.cpp b/tests/validation_old/Reference.cpp index 3a45cbb5ff..b8564dbb03 100644 --- a/tests/validation_old/Reference.cpp +++ b/tests/validation_old/Reference.cpp @@ -217,22 +217,6 @@ RawTensor Reference::compute_reference_gaussian5x5(const TensorShape &shape, Bor return ref_dst; } -RawTensor Reference::compute_reference_non_linear_filter(const TensorShape &shape, NonLinearFilterFunction function, unsigned int mask_size, - MatrixPattern pattern, const uint8_t *mask, BorderMode border_mode, uint8_t constant_border_value) -{ - // Create reference - RawTensor ref_src(shape, DataType::U8); - RawTensor ref_dst(shape, DataType::U8); - - // Fill reference - library->fill_tensor_uniform(ref_src, 0); - - // Compute reference - ReferenceCPP::non_linear_filter(ref_src, ref_dst, function, mask_size, pattern, mask, border_mode, constant_border_value); - - return ref_dst; -} - RawTensor Reference::compute_reference_pixel_wise_multiplication(const TensorShape &shape, DataType dt_in0, DataType dt_in1, DataType dt_out, float scale, ConvertPolicy convert_policy, RoundingPolicy rounding_policy) { |