diff options
author | Daniil Efremov <daniil.efremov@xored.com> | 2017-11-09 19:05:25 +0700 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | eed841c6df92b8d8e3137af260d1f5faf6167159 (patch) | |
tree | 0f0f4fadbcb35f6065d1d1bd66f0327982e8ad01 /arm_compute/core/Types.h | |
parent | 2302b2bf77ab3b448cada8e6deb10bfcd417cac8 (diff) | |
download | ComputeLibrary-eed841c6df92b8d8e3137af260d1f5faf6167159.tar.gz |
COMPMID-661: Add QAsymm8 for Reshape (#29)
Change-Id: I7a4126f96aa7ef7ed768ebe5b4e2b1f84228f8e6
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/95060
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'arm_compute/core/Types.h')
-rw-r--r-- | arm_compute/core/Types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index eaff8fb709..6e7eb3c829 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -104,6 +104,16 @@ struct QuantizationInfo { } + bool operator==(const QuantizationInfo &other) + { + return scale == other.scale && offset == other.offset; + } + + bool operator!=(const QuantizationInfo &other) + { + return !(*this == other); + } + float scale; /**< scale */ int offset; /**< offset */ |