aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/INodeVisitor.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2020-02-04 17:39:59 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2020-02-05 16:03:21 +0000
commitf8c4749a463106696ab99b6400b92a858a169a19 (patch)
tree86d711d5bf25ef3b3a8288ba2aa0b25c2da61091 /arm_compute/graph/INodeVisitor.h
parent55a687d5e2cf3434e4c2564ac73959dcc7163304 (diff)
downloadComputeLibrary-f8c4749a463106696ab99b6400b92a858a169a19.tar.gz
COMPMID-3083: Add graph support for PRelu
Change-Id: I48492f8c48b818b563bba1e0b48831ac5cdf1420 Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2685 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/graph/INodeVisitor.h')
-rw-r--r--arm_compute/graph/INodeVisitor.h9
1 files changed, 9 insertions, 0 deletions
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();