From f8c4749a463106696ab99b6400b92a858a169a19 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 4 Feb 2020 17:39:59 +0000 Subject: COMPMID-3083: Add graph support for PRelu Change-Id: I48492f8c48b818b563bba1e0b48831ac5cdf1420 Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2685 Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins --- arm_compute/graph/INodeVisitor.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'arm_compute/graph/INodeVisitor.h') diff --git a/arm_compute/graph/INodeVisitor.h b/arm_compute/graph/INodeVisitor.h index 25018d425a..deaa8f1a51 100644 --- a/arm_compute/graph/INodeVisitor.h +++ b/arm_compute/graph/INodeVisitor.h @@ -131,6 +131,11 @@ public: * @param[in] n Node to visit. */ virtual void visit(PermuteLayerNode &n) = 0; + /** Visit PreluLayerNode. + * + * @param[in] n Node to visit. + */ + virtual void visit(PReluLayerNode &n) = 0; /** Visit PoolingLayerNode. * * @param[in] n Node to visit. @@ -266,6 +271,10 @@ public: { default_visit(); } + virtual void visit(PReluLayerNode &) override + { + default_visit(); + } virtual void visit(PrintLayerNode &) override { default_visit(); -- cgit v1.2.1