From e9e7bfd09e3435d2bbb334e07c6a0a2514c80048 Mon Sep 17 00:00:00 2001 From: jimfly01 Date: Thu, 24 Jan 2019 22:29:33 +0000 Subject: IVGCVSW-2547 Add Accept function to IConnectableLayer * Layers which callback VisitXXXLayer with ConstTensor have been implemented with dummies to speed up implementation and unblock IVGCVSW-2531 Change-Id: I49b8035f12ec72d6bd6cee95075692f98c48e193 --- src/armnn/layers/DebugLayer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/armnn/layers/DebugLayer.cpp') diff --git a/src/armnn/layers/DebugLayer.cpp b/src/armnn/layers/DebugLayer.cpp index e83b17ee64..6fccca677f 100644 --- a/src/armnn/layers/DebugLayer.cpp +++ b/src/armnn/layers/DebugLayer.cpp @@ -46,4 +46,10 @@ void DebugLayer::ValidateTensorShapesFromInputs() inferredShapes[0]); } +void DebugLayer::Accept(ILayerVisitor& visitor) const +{ + // by design debug layers are never in input graphs + throw armnn::Exception("DebugLayer should never appear in an input graph"); +} + } // namespace armnn -- cgit v1.2.1