diff options
Diffstat (limited to 'src/armnn/layers/DebugLayer.cpp')
-rw-r--r-- | src/armnn/layers/DebugLayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/armnn/layers/DebugLayer.cpp b/src/armnn/layers/DebugLayer.cpp index ade09ed3d4..07d59be7a3 100644 --- a/src/armnn/layers/DebugLayer.cpp +++ b/src/armnn/layers/DebugLayer.cpp @@ -52,11 +52,13 @@ void DebugLayer::ValidateTensorShapesFromInputs() ValidateAndCopyShape(outputShape, inferredShapes[0], m_ShapeInferenceMethod, "DebugLayer"); } +ARMNN_NO_DEPRECATE_WARN_BEGIN void DebugLayer::Accept(ILayerVisitor& visitor) const { // by design debug layers are never in input graphs IgnoreUnused(visitor); throw armnn::Exception("DebugLayer should never appear in an input graph"); } +ARMNN_NO_DEPRECATE_WARN_END } // namespace armnn |