MLCE-325 ArmnnQuantizer incorrectly Quantizes all DataTypes
authorMike Kelly <mike.kelly@arm.com>
Thu, 14 Jan 2021 10:04:56 +0000 (10:04 +0000)
committermike.kelly <mike.kelly@arm.com>
Thu, 14 Jan 2021 20:12:49 +0000 (20:12 +0000)
commitc5e5a04bd26c2d1838828ba291464967a3e20f3f
treead7354097ef3053416cf2162aa8e26f0f0f5b578
parentec27971facf490fdafd1da1172fa88327808866a
MLCE-325 ArmnnQuantizer incorrectly Quantizes all DataTypes

 * ArmnnQuantizer incorrectly converts boolean or integer DataTypes to quantized
   DataTypes. This breaks layers like ArgMinMax where the output contains the
   index of an element along an axis.

Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I272c3d0f48bf884a2480bfa43eb14ec265fcda6b
src/armnn/DynamicQuantizationVisitor.cpp
src/armnn/QuantizerVisitor.cpp
src/armnn/StaticRangeVisitor.cpp
src/armnn/StaticRangeVisitor.hpp
src/armnn/test/QuantizerTest.cpp