diff options
author | Derek Lamberti <derek.lamberti@arm.com> | 2019-02-06 16:20:46 +0000 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-02-06 17:07:51 +0000 |
commit | 7205fed8ae4d6f85b350f3612cc43ee7e25176a7 (patch) | |
tree | e22e3af9d33dea7fbc9765ce7fb2b347ea356dcf /src/armnn/QuantizerVisitor.hpp | |
parent | 949f1255a247f3a1a7eabe8c8f96087d02da1d5a (diff) | |
download | armnn-7205fed8ae4d6f85b350f3612cc43ee7e25176a7.tar.gz |
IVGCVSW-2654 Test quantization of addition, input and output
Change-Id: I6c61df213278e6ba65807932548bb2eaa159deba
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'src/armnn/QuantizerVisitor.hpp')
-rw-r--r-- | src/armnn/QuantizerVisitor.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/armnn/QuantizerVisitor.hpp b/src/armnn/QuantizerVisitor.hpp index bf017d7205..5ff457ec33 100644 --- a/src/armnn/QuantizerVisitor.hpp +++ b/src/armnn/QuantizerVisitor.hpp @@ -18,7 +18,7 @@ namespace armnn class StaticRangeVisitor; /// Visitor object for quantizing layers in a network -class QuantizerVisitor : public LayerVisitorBase +class QuantizerVisitor : public LayerVisitorBase<VisitorNoThrowPolicy> { public: QuantizerVisitor(StaticRangeVisitor* ranges); @@ -36,8 +36,8 @@ private: /// Connects the layer to preceeding layers and sets the quantization parameters based on recorded ranges void SetQuantizedInputConnections(const IConnectableLayer *srcLayer, IConnectableLayer *quantizedLayer); - /// Record the guid so we can easily find it later - void RecordLayer(IConnectableLayer* layer); + /// Record the guids so we can easily find the layers later + void RecordLayer(const IConnectableLayer* srcLayer, IConnectableLayer* qLayer); StaticRangeVisitor* m_Ranges; ///< Previously recorded min/max ranges per intermediate tensor |