IVGCVSW-2607 Implement Input range override mechanism
authorMatteo Martincigh <matteo.martincigh@arm.com>
Thu, 7 Feb 2019 17:51:09 +0000 (17:51 +0000)
committerMatteo Martincigh <matteo.martincigh@arm.com>
Fri, 8 Feb 2019 12:23:05 +0000 (12:23 +0000)
commita8d572dc48f47e66cd7abd6ad9b2d3a0f40ea94b
tree5de7809a8fbc19d6d2a940a51a982bd633156945
parente0a4ad8a8e6ef271883e8029985eeab16d838972
IVGCVSW-2607 Implement Input range override mechanism

 * Added the OverrideInputRange method to the Quantizer API
 * Created OverrideInputRangeVisitor to implement the override mechanism
 * Moved the quantizer utility functions to the new NetworkQuantizerUtils files
 * Moved the map of quantization ranges out of the StaticRangeVisitor
   and into the NetworkQuantizer
 * Added unit tests
 * Code refactoring and cleanup

Change-Id: I9c1d006c1b6a35fbc04584a832fbe489f8f9276d
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
13 files changed:
CMakeLists.txt
include/armnn/INetworkQuantizer.hpp
src/armnn/NetworkQuantizer.cpp
src/armnn/NetworkQuantizer.hpp
src/armnn/NetworkQuantizerUtils.cpp [new file with mode: 0644]
src/armnn/NetworkQuantizerUtils.hpp [new file with mode: 0644]
src/armnn/OverrideInputRangeVisitor.cpp [new file with mode: 0644]
src/armnn/OverrideInputRangeVisitor.hpp [new file with mode: 0644]
src/armnn/QuantizerVisitor.cpp
src/armnn/QuantizerVisitor.hpp
src/armnn/StaticRangeVisitor.cpp
src/armnn/StaticRangeVisitor.hpp
src/armnn/test/QuantizerTest.cpp