aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/MemCopyLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/MemCopyLayer.cpp')
-rw-r--r--src/armnn/layers/MemCopyLayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/armnn/layers/MemCopyLayer.cpp b/src/armnn/layers/MemCopyLayer.cpp
index 40c1b98012..61fa462e94 100644
--- a/src/armnn/layers/MemCopyLayer.cpp
+++ b/src/armnn/layers/MemCopyLayer.cpp
@@ -49,11 +49,13 @@ void MemCopyLayer::ValidateTensorShapesFromInputs()
ValidateAndCopyShape(outputShape, inferredShapes[0], m_ShapeInferenceMethod, "MemCopyLayer");
}
+ARMNN_NO_DEPRECATE_WARN_BEGIN
void MemCopyLayer::Accept(ILayerVisitor& visitor) const
{
IgnoreUnused(visitor);
throw armnn::Exception("MemCopyLayer should not appear in an input graph");
}
+ARMNN_NO_DEPRECATE_WARN_END
void MemCopyLayer::ExecuteStrategy(IStrategy& strategy) const
{