aboutsummaryrefslogtreecommitdiff
path: root/tests/validation_old/ReferenceCPP.cpp
diff options
context:
space:
mode:
authorSanghoon Lee <sanghoon.lee@arm.com>2017-09-14 12:11:03 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commita7a5b7b2ee6adcfe86339a402f287c4d0d368659 (patch)
treee8d27d92b4ce6ebb7bb7af3ff27f236a24ba1924 /tests/validation_old/ReferenceCPP.cpp
parentf670a0a1d9bb5d4f17e8f9c8a37af2850247b2ce (diff)
downloadComputeLibrary-a7a5b7b2ee6adcfe86339a402f287c4d0d368659.tar.gz
COMPMID-508: Port TableLookup to new validation
Change-Id: I9e1a683afd64c351252617ba52131ca1ee829933 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87698 Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com> Reviewed-by: Pablo Tello <pablo.tello@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.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/validation_old/ReferenceCPP.cpp b/tests/validation_old/ReferenceCPP.cpp
index 2f59103f95..86dc589bb1 100644
--- a/tests/validation_old/ReferenceCPP.cpp
+++ b/tests/validation_old/ReferenceCPP.cpp
@@ -193,19 +193,6 @@ void ReferenceCPP::fixed_point_pixel_wise_multiplication(const RawTensor &src1,
boost::apply_visitor(tensor_visitors::fixed_point_pixel_wise_multiplication_visitor(s1, s2, scale, convert_policy, rounding_policy), d);
}
-// Table lookup
-template <typename T>
-void ReferenceCPP::table_lookup(const RawTensor &src, RawTensor &dst, std::map<T, T> &lut)
-{
- const TensorVariant s = TensorFactory::get_tensor(src);
- TensorVariant d = TensorFactory::get_tensor(dst);
- boost::apply_visitor(tensor_visitors::table_lookup<T>(s, lut), d);
-}
-#ifndef DOXYGEN_SKIP_THIS
-template void arm_compute::test::validation::ReferenceCPP::table_lookup<uint8_t>(const RawTensor &src, RawTensor &dst, std::map<uint8_t, uint8_t> &lut);
-template void arm_compute::test::validation::ReferenceCPP::table_lookup<int16_t>(const RawTensor &src, RawTensor &dst, std::map<int16_t, int16_t> &lut);
-#endif /* DOXYGEN_SKIP_THIS */
-
// Threshold
void ReferenceCPP::threshold(const RawTensor &src, RawTensor &dst, uint8_t threshold, uint8_t false_value, uint8_t true_value, ThresholdType type, uint8_t upper)
{