From 970353e3e9ee402ab7294230654b5b9151cd57f3 Mon Sep 17 00:00:00 2001 From: Sheri Zhang Date: Thu, 19 Mar 2020 14:29:49 +0000 Subject: COMPMID-3226: Update CLDirectConvolution test input range Signed-off-by: Sheri Zhang Change-Id: I837c41de89fcb6b06650d8aaae240d20eb5cc830 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2912 Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- tests/validation/fixtures/DirectConvolutionLayerFixture.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/validation/fixtures/DirectConvolutionLayerFixture.h b/tests/validation/fixtures/DirectConvolutionLayerFixture.h index 1d67a2a653..c4e4180900 100644 --- a/tests/validation/fixtures/DirectConvolutionLayerFixture.h +++ b/tests/validation/fixtures/DirectConvolutionLayerFixture.h @@ -105,8 +105,8 @@ protected: } case DataType::QASYMM8_SIGNED: { - std::pair bounds = get_quantized_qasymm8_signed_bounds(tensor.quantization_info(), -1.0f, 1.0f); - std::uniform_int_distribution distribution(bounds.first, bounds.second); + // Use small input range to avoid all the test results being saturated at the end. + std::uniform_int_distribution distribution(-25, 25); library->fill(tensor, distribution, i); break; } -- cgit v1.2.1