diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2020-12-17 16:47:07 +0000 |
---|---|---|
committer | Giorgio Arena <giorgio.arena@arm.com> | 2021-01-07 16:41:34 +0000 |
commit | 4bdd177c75789451cad9ba1ecf929214ed75c009 (patch) | |
tree | a6a8ea96045a13af4b29e9c81014516dfe929715 /tests/validation/fixtures/GEMMLowpFixture.h | |
parent | 4d9383e179ed6be8cdb117e6353a0dea1c40be93 (diff) | |
download | ComputeLibrary-4bdd177c75789451cad9ba1ecf929214ed75c009.tar.gz |
Fix fill() for FP data type in fixtures - Part 2
Resolves: COMPMID-4056
Signed-off-by: Giorgio Arena <giorgio.arena@arm.com>
Change-Id: I6623eb9c0e66e52af4e0e9fb386031f4a09125b7
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4722
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/fixtures/GEMMLowpFixture.h')
-rw-r--r-- | tests/validation/fixtures/GEMMLowpFixture.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<float> 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<float> scales(num_channels); + std::uniform_real_distribution<float> distribution(0.f, 1.f); library->fill(scales, distribution, 0); output_stage.gemmlowp_multipliers.resize(num_channels); output_stage.gemmlowp_shifts.resize(num_channels); |