aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/QuantizerVisitor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/QuantizerVisitor.hpp')
-rw-r--r--src/armnn/QuantizerVisitor.hpp6
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