diff options
author | Abe Mbise <abe.mbise@arm.com> | 2017-09-01 16:43:47 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 3f0ab6ed8267b1858ec993c1b7bc9715c0991306 (patch) | |
tree | e849e7e00c08cde877d03baf5abc225006a435a1 /tests/validation_old/ReferenceCPP.cpp | |
parent | f4af76e796a57e453f3717cfdf40c8bcf132b62e (diff) | |
download | ComputeLibrary-3f0ab6ed8267b1858ec993c1b7bc9715c0991306.tar.gz |
COMPMID-495: Port Box 3x3 to new validation
Change-Id: I19b359ca37d97382fd516dad75f454857475ef50
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/86178
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/validation_old/ReferenceCPP.cpp')
-rw-r--r-- | tests/validation_old/ReferenceCPP.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/validation_old/ReferenceCPP.cpp b/tests/validation_old/ReferenceCPP.cpp index 753f9595a5..9c7ddf8579 100644 --- a/tests/validation_old/ReferenceCPP.cpp +++ b/tests/validation_old/ReferenceCPP.cpp @@ -156,15 +156,6 @@ void ReferenceCPP::arithmetic_subtraction(const RawTensor &src1, const RawTensor boost::apply_visitor(arithmetic_subtraction_visitor(convert_policy), s1, s2, d); } -// Box3x3 filter -void ReferenceCPP::box3x3(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::box3x3(s, d, border_mode, constant_border_value); -} - // Depth conversion void ReferenceCPP::depth_convert(const RawTensor &src, RawTensor &dst, ConvertPolicy policy, uint32_t shift) { |