aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/INodeVisitor.h
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2019-03-22 15:25:32 +0000
committerMichele Di Giorgio <michele.digiorgio@arm.com>2019-03-25 17:16:41 +0000
commitec6997563a7cccf58431267cca39435ecd57cd32 (patch)
treeda355630d63858e31bf84acd5a0f588a1ea4f61f /arm_compute/graph/INodeVisitor.h
parent2761c2f0b60175469e959982a25ff0abdca6c9ce (diff)
downloadComputeLibrary-ec6997563a7cccf58431267cca39435ecd57cd32.tar.gz
COMPMID-2076: Add StackLayer to the graph API
Change-Id: Ifae23659c2471d9c052bc8adf066c5228d6e8b23 Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-on: https://review.mlplatform.org/c/893 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Comments-Addressed: 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 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