aboutsummaryrefslogtreecommitdiff
path: root/tests/validation_old/Reference.cpp
diff options
context:
space:
mode:
authorJohn Richardson <john.richardson@arm.com>2017-09-13 16:57:46 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit1830097298884b172257981cf5cb0150061084b5 (patch)
tree3df67fdb7d80a1169e723b0212d1042870f307ad /tests/validation_old/Reference.cpp
parent4268fbe011fb5303eaf1baaf6750ee8577577580 (diff)
downloadComputeLibrary-1830097298884b172257981cf5cb0150061084b5.tar.gz
COMPMID-509: Move Threshold to new validation
Change-Id: I06b045485f40c49a02bd2b85bafc43662b11270d Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88043 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.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/validation_old/Reference.cpp b/tests/validation_old/Reference.cpp
index 35eab54526..91cc688ac0 100644
--- a/tests/validation_old/Reference.cpp
+++ b/tests/validation_old/Reference.cpp
@@ -226,21 +226,6 @@ RawTensor Reference::compute_reference_fixed_point_pixel_wise_multiplication(con
return ref_dst;
}
-RawTensor Reference::compute_reference_threshold(const TensorShape &shape, uint8_t threshold, uint8_t false_value, uint8_t true_value, ThresholdType type, uint8_t upper)
-{
- // 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::threshold(ref_src, ref_dst, threshold, false_value, true_value, type, upper);
-
- return ref_dst;
-}
-
RawTensor Reference::compute_reference_warp_perspective(const TensorShape &shape, RawTensor &valid_mask, const float *matrix, InterpolationPolicy policy, BorderMode border_mode,
uint8_t constant_border_value)
{