diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-06-12 15:42:18 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-06-17 16:15:22 +0000 |
commit | 0e406eed386a4ea015ec703c84a74ea775d88b99 (patch) | |
tree | c176eab811b78ce83e86bca2db883e9770708eb2 /include/armnn/ILayerVisitor.hpp | |
parent | e52211e1544a30d24b29523c389116a9e4446e8c (diff) | |
download | armnn-0e406eed386a4ea015ec703c84a74ea775d88b99.tar.gz |
IVGCVSW-3267 Add Arm NN front end support for the new Prelu Activation layer
* Added new PreluLayer class
* Made necessary changes to ILayerSupport, ILayerVisitor, etc.
* Added unit tests
Change-Id: Ifcfb78e823bb5a245ed1dad15290d2f60115c882
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Diffstat (limited to 'include/armnn/ILayerVisitor.hpp')
-rw-r--r-- | include/armnn/ILayerVisitor.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/armnn/ILayerVisitor.hpp b/include/armnn/ILayerVisitor.hpp index ab83dbfb05..9519c8b0c1 100644 --- a/include/armnn/ILayerVisitor.hpp +++ b/include/armnn/ILayerVisitor.hpp @@ -290,6 +290,12 @@ public: const Pooling2dDescriptor& pooling2dDescriptor, const char* name = nullptr) = 0; + /// Function that a PReLU activation layer should call back to when its Accept(ILayerVisitor&) function is invoked. + /// @param layer - pointer to the layer which is calling back to this visit function. + /// @param name - Optional name for the layer. + virtual void VisitPreluLayer(const IConnectableLayer* layer, + const char* name = nullptr) = 0; + /// Function a quantize layer should call back to when its Accept(ILayerVisitor&) function is invoked. /// @param layer - pointer to the layer which is calling back to this visit function. /// @param name - Optional name for the layer. |