From 4bdd177c75789451cad9ba1ecf929214ed75c009 Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Thu, 17 Dec 2020 16:47:07 +0000 Subject: Fix fill() for FP data type in fixtures - Part 2 Resolves: COMPMID-4056 Signed-off-by: Giorgio Arena Change-Id: I6623eb9c0e66e52af4e0e9fb386031f4a09125b7 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4722 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- tests/validation/fixtures/GEMMLowpFixture.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/validation/fixtures/GEMMLowpFixture.h') diff --git a/tests/validation/fixtures/GEMMLowpFixture.h b/tests/validation/fixtures/GEMMLowpFixture.h index 24c1a24d40..95f49601a5 100644 --- a/tests/validation/fixtures/GEMMLowpFixture.h +++ b/tests/validation/fixtures/GEMMLowpFixture.h @@ -218,10 +218,10 @@ public: if(data_type_b == DataType::QSYMM8_PER_CHANNEL) { - output_stage.is_quantized_per_channel = true; - const size_t num_channels = shape_b[0]; - std::vector scales(num_channels); - std::uniform_real_distribution<> distribution(0, 1); + output_stage.is_quantized_per_channel = true; + const size_t num_channels = shape_b[0]; + std::vector scales(num_channels); + std::uniform_real_distribution distribution(0.f, 1.f); library->fill(scales, distribution, 0); output_stage.gemmlowp_multipliers.resize(num_channels); output_stage.gemmlowp_shifts.resize(num_channels); -- cgit v1.2.1