diff options
author | Manuel Bottini <manuel.bottini@arm.com> | 2019-12-02 16:22:35 +0000 |
---|---|---|
committer | Manuel Bottini <manuel.bottini@arm.com> | 2020-01-14 13:15:11 +0000 |
commit | 959c26d0457deeebf7306b9e4317863f144415b5 (patch) | |
tree | 9a439d27b9985f21b3b1b27db519efe9e928954a /arm_compute/core/Types.h | |
parent | 6427c8233661f81053d1ad486b5914c612cef3d6 (diff) | |
download | ComputeLibrary-959c26d0457deeebf7306b9e4317863f144415b5.tar.gz |
COMPMID-2790: Add support for QASYMM8_SIGNED in CLGEMMLowpMatrixMultiplyCore
Change-Id: Ifdaeb53c512ba697f174649c026075010f54f628
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/2472
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Sang-Hoon Park <sang-hoon.park@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Giuseppe Rossini <giuseppe.rossini@arm.com>
Diffstat (limited to 'arm_compute/core/Types.h')
-rw-r--r-- | arm_compute/core/Types.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index 901d080b0e..cbcd3fa783 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2019 ARM Limited. + * Copyright (c) 2016-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -1866,10 +1866,10 @@ struct DepthwiseConvolutionReshapeInfo /** GEMMLowp output stage type */ enum class GEMMLowpOutputStageType { - NONE, /**< No quantization to uint8 */ - QUANTIZE_DOWN, /**< Quantize to uint8 using an integer multiplication */ - QUANTIZE_DOWN_FIXEDPOINT, /**< Quantize to uint8 using a fixed point multiplication */ - QUANTIZE_DOWN_FLOAT /**< Quantize to uint8 using a floating point multiplication */ + NONE, /**< No quantization */ + QUANTIZE_DOWN, /**< Quantize using an integer multiplication */ + QUANTIZE_DOWN_FIXEDPOINT, /**< Quantize using a fixed point multiplication */ + QUANTIZE_DOWN_FLOAT /**< Quantize using a floating point multiplication */ }; /** GEMMLowp output stage info */ @@ -1884,6 +1884,7 @@ struct GEMMLowpOutputStageInfo std::vector<int32_t> gemmlowp_multipliers{}; /**< GEMMLowp output stage multiplier used for quantizing to QASYMM8 */ std::vector<int32_t> gemmlowp_shifts{}; /**< GEMMLowp output stage multiplier used for quantizing to QASYMM8 */ bool is_quantized_per_channel{ false }; /**< GEMMLowp quantized per-channel flag */ + DataType output_data_type{ DataType::UNKNOWN }; /**< Output tensor data type to use if the output is not initialized */ }; /** GEMM LHS (Left Hand Side) matrix information */ |