IVGCVSW-7602 IVGCVSW-7602 Implement opaque delegate for Quantize + Dequantize operator
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: I318cb25f526dfe0f7aa6afcf77971afd8d437209
diff --git a/delegate/opaque/src/armnn_delegate.cpp b/delegate/opaque/src/armnn_delegate.cpp
index b38b528..8c3ddfa 100644
--- a/delegate/opaque/src/armnn_delegate.cpp
+++ b/delegate/opaque/src/armnn_delegate.cpp
@@ -726,6 +726,12 @@
tfLiteNode,
nodeIndex,
kTfLiteBuiltinDepthwiseConv2d);
+ case kTfLiteBuiltinDequantize:
+ return VisitDequantizeOperator(delegateData,
+ tfLiteContext,
+ tfLiteNode,
+ nodeIndex,
+ kTfLiteBuiltinDequantize);
case kTfLiteBuiltinDiv:
return VisitElementwiseBinaryOperator(delegateData,
tfLiteContext,
@@ -942,6 +948,12 @@
tfLiteNode,
nodeIndex,
kTfLiteBuiltinPrelu);
+ case kTfLiteBuiltinQuantize:
+ return VisitQuantizeOperator(delegateData,
+ tfLiteContext,
+ tfLiteNode,
+ nodeIndex,
+ kTfLiteBuiltinQuantize);
case kTfLiteBuiltinRelu:
return VisitActivationOperator(delegateData,
tfLiteContext,