aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/INodeVisitor.h
diff options
context:
space:
mode:
authorIsabella Gottardi <isabella.gottardi@arm.com>2019-05-17 12:35:20 +0100
committerIsabella Gottardi <isabella.gottardi@arm.com>2019-05-20 07:51:02 +0000
commit3db1ba9938986e7096184ad22020a71775075d03 (patch)
tree5018e5eecc1c1c81277e8a4c37bc0ad76245d95e /arm_compute/graph/INodeVisitor.h
parent0eb16cfa5ff4484658ba8630a8dea072445dacbd (diff)
downloadComputeLibrary-3db1ba9938986e7096184ad22020a71775075d03.tar.gz
COMPMID-2362: Add Quantization Layer to the graph API
Change-Id: I9766ad54e8da1367ba192dfeeccdc879f3729550 Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com> Reviewed-on: https://review.mlplatform.org/c/1172 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@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 291fe7c3cc..be43b57e48 100644
--- a/arm_compute/graph/INodeVisitor.h
+++ b/arm_compute/graph/INodeVisitor.h
@@ -126,6 +126,11 @@ public:
* @param[in] n Node to visit.
*/
virtual void visit(PriorBoxLayerNode &n) = 0;
+ /** Visit QuantizationLayerNode.
+ *
+ * @param[in] n Node to visit.
+ */
+ virtual void visit(QuantizationLayerNode &n) = 0;
/** Visit ReshapeLayerNode.
*
* @param[in] n Node to visit.
@@ -233,6 +238,10 @@ public:
{
default_visit();
}
+ virtual void visit(QuantizationLayerNode &n) override
+ {
+ default_visit();
+ }
virtual void visit(ReshapeLayerNode &n) override
{
default_visit();