From e03802edd37229a1868bacedd7571cc443810caf Mon Sep 17 00:00:00 2001 From: Usama Arif Date: Mon, 11 Mar 2019 12:20:20 +0000 Subject: COMPMID-1936: Add support for QASYMM8 in CLQuantizeLayer. Change-Id: I9aa1f1f1753bcdee6a74ec15b4fb366f823788b4 Signed-off-by: Usama Arif Reviewed-on: https://review.mlplatform.org/c/850 Reviewed-by: Georgios Pinitas Tested-by: Arm Jenkins --- tests/benchmark/fixtures/QuantizationLayerFixture.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/benchmark/fixtures') diff --git a/tests/benchmark/fixtures/QuantizationLayerFixture.h b/tests/benchmark/fixtures/QuantizationLayerFixture.h index 4b2fc88602..f2e8889423 100644 --- a/tests/benchmark/fixtures/QuantizationLayerFixture.h +++ b/tests/benchmark/fixtures/QuantizationLayerFixture.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -43,9 +43,11 @@ public: template void setup(TensorShape shape, DataType data_type) { + const QuantizationInfo q_info(0.5f, -10); + // Create tensors src = create_tensor(shape, data_type); - dst = create_tensor(shape, DataType::U8); + dst = create_tensor(shape, DataType::QASYMM8, 1, q_info); // Create and configure function quantization_func.configure(&src, &dst); -- cgit v1.2.1