diff options
Diffstat (limited to 'src/armnn/layers/PreCompiledLayer.cpp')
-rw-r--r-- | src/armnn/layers/PreCompiledLayer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/armnn/layers/PreCompiledLayer.cpp b/src/armnn/layers/PreCompiledLayer.cpp index c443f9ae79..11064216ee 100644 --- a/src/armnn/layers/PreCompiledLayer.cpp +++ b/src/armnn/layers/PreCompiledLayer.cpp @@ -53,4 +53,9 @@ void PreCompiledLayer::SetPreCompiledObject(const std::shared_ptr<void>& preComp m_PreCompiledObject = preCompiledObject; } +void PreCompiledLayer::Accept(ILayerVisitor& visitor) const +{ + throw armnn::Exception("PreCompiledLayer should not appear in an input graph"); +} + } // namespace armnn |