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>
diff --git a/arm_compute/graph/INodeVisitor.h b/arm_compute/graph/INodeVisitor.h
index 291fe7c..be43b57 100644
--- a/arm_compute/graph/INodeVisitor.h
+++ b/arm_compute/graph/INodeVisitor.h
@@ -126,6 +126,11 @@
* @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 @@
{
default_visit();
}
+ virtual void visit(QuantizationLayerNode &n) override
+ {
+ default_visit();
+ }
virtual void visit(ReshapeLayerNode &n) override
{
default_visit();