From 3f6a57a39ca1d19e737d169fd43766243bde4a92 Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Wed, 26 Sep 2018 14:39:39 +0100 Subject: COMPMID-1599: (Nightly) CL/NormalizePlanarYUVLayer/Quantized/QASYMM8 mismatches Fixing bounds of random values for Normalize Planar YUV tests when using QASYMM8. Furthermore, since 70d252d8b4 a QASYMM8 implementation of Batch Normalization would have been tested with tensors filled with all 1s. This patch removes that as QASYMM8 Batch Normalization is not supported. Change-Id: Ieab83ed36b2d7af760ceb19a07d1eedcc991957f Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/150492 Reviewed-by: Isabella Gottardi Reviewed-by: Georgios Pinitas Tested-by: bsgcomp --- tests/validation/Helpers.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'tests/validation/Helpers.h') diff --git a/tests/validation/Helpers.h b/tests/validation/Helpers.h index 8b994946f2..779ecdca11 100644 --- a/tests/validation/Helpers.h +++ b/tests/validation/Helpers.h @@ -176,43 +176,6 @@ void fill_lookuptable(T &&table) } } -/** Helper function to get the testing range for batch normalization layer. - * - * @return A pair containing the lower upper testing bounds. - */ -template -std::pair get_batchnormalization_layer_test_bounds() -{ - const bool is_float = std::is_floating_point::value; - std::pair bounds; - - // Set initial values - if(is_float) - { - bounds = std::make_pair(-1.f, 1.f); - } - else - { - bounds = std::make_pair(1, 1); - } - - return bounds; -} - -/** Helper function to get the testing range for NormalizePlanarYUV layer. - * - * @return A pair containing the lower upper testing bounds. - */ -template -std::pair get_normalize_planar_yuv_layer_test_bounds() -{ - std::pair bounds; - - bounds = std::make_pair(-1.f, 1.f); - - return bounds; -} - /** Convert quantized simple tensor into float using tensor quantization information. * * @param[in] src Quantized tensor. -- cgit v1.2.1