From ec6997563a7cccf58431267cca39435ecd57cd32 Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Fri, 22 Mar 2019 15:25:32 +0000 Subject: COMPMID-2076: Add StackLayer to the graph API Change-Id: Ifae23659c2471d9c052bc8adf066c5228d6e8b23 Signed-off-by: Michele Di Giorgio Reviewed-on: https://review.mlplatform.org/c/893 Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas Comments-Addressed: 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 842ca4bfb3..291fe7c3cc 100644 --- a/arm_compute/graph/INodeVisitor.h +++ b/arm_compute/graph/INodeVisitor.h @@ -141,6 +141,11 @@ public: * @param[in] n Node to visit. */ virtual void visit(SplitLayerNode &n) = 0; + /** Visit StackLayerNode. + * + * @param[in] n Node to visit. + */ + virtual void visit(StackLayerNode &n) = 0; }; /** Default visitor implementation @@ -240,6 +245,10 @@ public: { default_visit(); } + virtual void visit(StackLayerNode &n) override + { + default_visit(); + } #endif /* DOXYGEN_SKIP_THIS */ /** Function to be overloaded by the client and implement default behavior for the -- cgit v1.2.1