From 6e9d0e048b48712f4f72d4b0a5b94a277391a357 Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Fri, 3 Jan 2020 15:02:04 +0000 Subject: COMPMID-2856 Add PrintLayer at graph level Signed-off-by: Giorgio Arena Change-Id: I8f02bb67adae8cc7d884f2417cc9c408985f0d5a Reviewed-on: https://review.mlplatform.org/c/2546 Reviewed-by: Manuel Bottini Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas --- arm_compute/graph/INodeVisitor.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'arm_compute/graph/INodeVisitor.h') diff --git a/arm_compute/graph/INodeVisitor.h b/arm_compute/graph/INodeVisitor.h index 59eddda4aa..25018d425a 100644 --- a/arm_compute/graph/INodeVisitor.h +++ b/arm_compute/graph/INodeVisitor.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 ARM Limited. + * Copyright (c) 2018-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -136,6 +136,11 @@ public: * @param[in] n Node to visit. */ virtual void visit(PoolingLayerNode &n) = 0; + /** Visit PrintLayerNode. + * + * @param[in] n Node to visit. + */ + virtual void visit(PrintLayerNode &n) = 0; /** Visit PriorBoxLayerNode. * * @param[in] n Node to visit. @@ -261,6 +266,10 @@ public: { default_visit(); } + virtual void visit(PrintLayerNode &) override + { + default_visit(); + } virtual void visit(PriorBoxLayerNode &) override { default_visit(); -- cgit v1.2.1