diff options
Diffstat (limited to 'src/armnn/layers/MemCopyLayer.cpp')
-rw-r--r-- | src/armnn/layers/MemCopyLayer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/armnn/layers/MemCopyLayer.cpp b/src/armnn/layers/MemCopyLayer.cpp index e3138d2dee..6f3f55955e 100644 --- a/src/armnn/layers/MemCopyLayer.cpp +++ b/src/armnn/layers/MemCopyLayer.cpp @@ -46,4 +46,9 @@ void MemCopyLayer::ValidateTensorShapesFromInputs() inferredShapes[0]); } +void MemCopyLayer::Accept(ILayerVisitor& visitor) const +{ + throw armnn::Exception("MemCopyLayer should not appear in an input graph"); +} + } // namespace armnn |