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/Reference.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/Reference.cpp')
-rw-r--r-- | tests/validation_old/Reference.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/validation_old/Reference.cpp b/tests/validation_old/Reference.cpp index 91cc688ac0..32e0212596 100644 --- a/tests/validation_old/Reference.cpp +++ b/tests/validation_old/Reference.cpp @@ -160,36 +160,6 @@ RawTensor Reference::compute_reference_accumulate_weighted(const TensorShape &sh return ref_dst; } -RawTensor Reference::compute_reference_gaussian3x3(const TensorShape &shape, 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::gaussian3x3(ref_src, ref_dst, border_mode, constant_border_value); - - return ref_dst; -} - -RawTensor Reference::compute_reference_gaussian5x5(const TensorShape &shape, 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::gaussian5x5(ref_src, ref_dst, 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) { |