diff options
author | Michele Di Giorgio <michele.digiorgio@arm.com> | 2020-04-30 12:02:20 +0100 |
---|---|---|
committer | Michele Di Giorgio <michele.digiorgio@arm.com> | 2020-05-01 13:36:24 +0000 |
commit | 81870c05533cba03373d5e51fed95cd5e74f741d (patch) | |
tree | 2eaf6233f39a01fe69656d7714bcbb575cdd5021 /tests/validation/fixtures/ComparisonFixture.h | |
parent | c6aef871851691eb726e53f621d51545715896e3 (diff) | |
download | ComputeLibrary-81870c05533cba03373d5e51fed95cd5e74f741d.tar.gz |
IVGCVSW-4743: Fix CpuAcc Hal 1.3 Comparison Failures
Broadcast for QASYMM8_SIGNED was not handled.
Change-Id: Id5dbb0dce78838319218de94551bba52d697f4a4
Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3131
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/ComparisonFixture.h')
-rw-r--r-- | tests/validation/fixtures/ComparisonFixture.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/validation/fixtures/ComparisonFixture.h b/tests/validation/fixtures/ComparisonFixture.h index b2fe42de26..d1e1a539c7 100644 --- a/tests/validation/fixtures/ComparisonFixture.h +++ b/tests/validation/fixtures/ComparisonFixture.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -146,6 +146,17 @@ public: ComparisonValidationGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(op, shape, shape, data_type, qinfo0, qinfo1); } }; + +template <typename TensorType, typename AccessorType, typename FunctionType, typename T> +class ComparisonQuantizedBroadcastValidationFixture : public ComparisonValidationGenericFixture<TensorType, AccessorType, FunctionType, T> +{ +public: + template <typename...> + void setup(ComparisonOperation op, const TensorShape &shape0, const TensorShape &shape1, DataType data_type, QuantizationInfo qinfo0, QuantizationInfo qinfo1) + { + ComparisonValidationGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(op, shape0, shape1, data_type, qinfo0, qinfo1); + } +}; } // namespace validation } // namespace test } // namespace arm_compute |