diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2021-01-08 10:37:15 +0000 |
---|---|---|
committer | Giorgio Arena <giorgio.arena@arm.com> | 2021-01-08 11:54:50 +0000 |
commit | 33b103b8ad1b063ddf909a2c2027e25ef46c0d88 (patch) | |
tree | ada1e9265593a03030d6a98d369f92ba29ddb1ef /tests/validation/fixtures/ElementWiseUnaryFixture.h | |
parent | b56c1758dfc233452ff73149fabe30e1c460e9d3 (diff) | |
download | ComputeLibrary-33b103b8ad1b063ddf909a2c2027e25ef46c0d88.tar.gz |
Resolve merge conflicts between new fills and new fp16 generator
Resolves: COMPMID-4083
Change-Id: Ia1b595d972854ede7ff4104183d014ac6afe30d1
Signed-off-by: Giorgio Arena <giorgio.arena@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4782
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/fixtures/ElementWiseUnaryFixture.h')
-rw-r--r-- | tests/validation/fixtures/ElementWiseUnaryFixture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/validation/fixtures/ElementWiseUnaryFixture.h b/tests/validation/fixtures/ElementWiseUnaryFixture.h index f8e0dfa75e..8cffef48f6 100644 --- a/tests/validation/fixtures/ElementWiseUnaryFixture.h +++ b/tests/validation/fixtures/ElementWiseUnaryFixture.h @@ -56,7 +56,7 @@ protected: void fill(U &&tensor, int i, DataType data_type) { using FloatType = typename std::conditional < std::is_same<T, half>::value || std::is_floating_point<T>::value, T, float >::type; - using FloatDistributionType = typename std::conditional<std::is_same<T, half>::value, arm_compute::utils::uniform_real_distribution_fp16, std::uniform_real_distribution<FloatType>>::type; + using FloatDistributionType = typename std::conditional<std::is_same<T, half>::value, arm_compute::utils::uniform_real_distribution_16bit<T>, std::uniform_real_distribution<FloatType>>::type; switch(_op) { |