diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-06-04 17:31:46 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-06-05 14:14:48 +0000 |
commit | 4b3fba1850fdf84ba3f9a0c98acf3de672330b34 (patch) | |
tree | 1b65639ec7387c474903583ff0927918c8c7d837 /tests/validation/reference/ActivationLayer.h | |
parent | c625acd2a60a4fe34633c5cecef85c230933f772 (diff) | |
download | ComputeLibrary-4b3fba1850fdf84ba3f9a0c98acf3de672330b34.tar.gz |
COMPMID-2372: Add support for QASYMM8 for Tanh
-Perform calculations in the floating point domain
-Extends checks for Logistic as scale should be 1/256 and offset 0
Change-Id: I90ef4a042f053976936f5d28f8e09b54eec196a2
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1287
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/reference/ActivationLayer.h')
-rw-r--r-- | tests/validation/reference/ActivationLayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/validation/reference/ActivationLayer.h b/tests/validation/reference/ActivationLayer.h index cc43bc10a8..5beca7c76d 100644 --- a/tests/validation/reference/ActivationLayer.h +++ b/tests/validation/reference/ActivationLayer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -87,7 +87,7 @@ inline T activate_float(T x, T a, T b, ActivationLayerInfo::ActivationFunction a } template <typename T> -SimpleTensor<T> activation_layer(const SimpleTensor<T> &src, ActivationLayerInfo info); +SimpleTensor<T> activation_layer(const SimpleTensor<T> &src, ActivationLayerInfo info, const QuantizationInfo &oq_info = QuantizationInfo()); } // namespace reference } // namespace validation } // namespace test |