From 014333d73883c3872e458cedda5ccef586a7ccd4 Mon Sep 17 00:00:00 2001 From: Vidhya Sudhan Loganathan Date: Mon, 2 Jul 2018 09:13:49 +0100 Subject: COMPMID-970 : Remove QS8 / QS16 support Removed Fixed point position arguments from test sources Change-Id: I8343724723b71611fd501ed34de0866d3fb60e7e Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/136382 Tested-by: Jenkins Reviewed-by: Michele DiGiorgio Reviewed-by: Anthony Barbier --- tests/validation/Helpers.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/validation/Helpers.h') diff --git a/tests/validation/Helpers.h b/tests/validation/Helpers.h index 88262d5e66..2b4d277e92 100644 --- a/tests/validation/Helpers.h +++ b/tests/validation/Helpers.h @@ -52,14 +52,13 @@ struct is_floating_point : public std::true_type /** Helper function to get the testing range for each activation layer. * - * @param[in] activation Activation function to test. - * @param[in] data_type Data type. - * @param[in] fixed_point_position Number of bits for the fractional part. Defaults to 1. + * @param[in] activation Activation function to test. + * @param[in] data_type Data type. * * @return A pair containing the lower upper testing bounds for a given function. */ template -std::pair get_activation_layer_test_bounds(ActivationLayerInfo::ActivationFunction activation, DataType data_type, int fixed_point_position = 0) +std::pair get_activation_layer_test_bounds(ActivationLayerInfo::ActivationFunction activation, DataType data_type) { std::pair bounds; @@ -178,12 +177,12 @@ void fill_lookuptable(T &&table) /** Helper function to get the testing range for batch normalization layer. * - * @param[in] fixed_point_position (Optional) Number of bits for the fractional part. Defaults to 1. + * @param[in] fixed_point_position (Optional) Number of bits for the fractional part. Defaults to 0. * * @return A pair containing the lower upper testing bounds. */ template -std::pair get_batchnormalization_layer_test_bounds(int fixed_point_position = 1) +std::pair get_batchnormalization_layer_test_bounds(int fixed_point_position = 0) { const bool is_float = std::is_floating_point::value; std::pair bounds; -- cgit v1.2.1