aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/ILayerVisitor.hpp
diff options
context:
space:
mode:
authorKevin May <kevin.may@arm.com>2019-09-04 17:29:31 +0100
committerSadik Armagan <sadik.armagan@arm.com>2019-09-05 10:48:35 +0000
commit868eb14c463ee76668ad75d4cd4e718a840f7be6 (patch)
treea2eac7dd52811c2af188cc00c271d156afee008b /include/armnn/ILayerVisitor.hpp
parent3a161988ebb9e5406d2bcab6fc3a06f8545eb588 (diff)
downloadarmnn-868eb14c463ee76668ad75d4cd4e718a840f7be6.tar.gz
IVGCVSW-3739 Add Arm NN front end support for Abs Layer
* Add Abs Layer * Add no-op factory implementations for CpuRef, CpuAcc, GpuAcc * Add Queue Descriptor in WorkloadData * Add IsAbsLayerSupported to LayerSupport * Add LayerVisitor tests Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Ib0992571d1c80de851cea466291be904e9bdb430
Diffstat (limited to 'include/armnn/ILayerVisitor.hpp')
-rw-r--r--include/armnn/ILayerVisitor.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/armnn/ILayerVisitor.hpp b/include/armnn/ILayerVisitor.hpp
index 1ccbf98d95..a22de878ca 100644
--- a/include/armnn/ILayerVisitor.hpp
+++ b/include/armnn/ILayerVisitor.hpp
@@ -20,6 +20,13 @@ protected:
virtual ~ILayerVisitor() {}
public:
+ /// Function an absolute 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 VisitAbsLayer(const IConnectableLayer* layer,
+ const char* name = nullptr) = 0;
+
/// Function that an 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 activationDescriptor - ActivationDescriptor to configure the activation.