diff options
author | Keith Davis <keith.davis@arm.com> | 2019-11-04 08:58:33 +0000 |
---|---|---|
committer | Keith Davis <keith.davis@arm.com> | 2019-11-04 16:46:35 +0000 |
commit | 5236e1d6bcff6ebec7ec10d7d416cc6ead5482dd (patch) | |
tree | 4152c5fcd6b9c11848a02dfa4ff8705a2cfae0a5 /include/armnn/Types.hpp | |
parent | f71079328ae72a65c91e410b2bd35eabb67cb6d1 (diff) | |
download | armnn-5236e1d6bcff6ebec7ec10d7d416cc6ead5482dd.tar.gz |
IVGCVSW-3835 Create Encoder and Decoder for QSymm8PerAxis
* Add QuantizedSymm8PerAxis to armnn DataType (types.hpp) and
* Add Quantize and Dequantize template for int8 in TypeUtils to be able to compute QSymm8 of the weight
* Create PerAxisIterator for per-axis quantization
* Create QSymm8PerAxisDecoder
* Create QSymm8PerAxisEncoder
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: Ibcfe0288a197b7ee50b543bdbd77b7edb8a547c2
Diffstat (limited to 'include/armnn/Types.hpp')
-rw-r--r-- | include/armnn/Types.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/armnn/Types.hpp b/include/armnn/Types.hpp index 16a148c9c2..51162e6cf3 100644 --- a/include/armnn/Types.hpp +++ b/include/armnn/Types.hpp @@ -31,7 +31,8 @@ enum class DataType QuantisedAsymm8 = 2, Signed32 = 3, Boolean = 4, - QuantisedSymm16 = 5 + QuantisedSymm16 = 5, + QuantizedSymm8PerAxis = 6 }; enum class DataLayout |