aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/armnn_delegate.cpp
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2022-07-12 14:16:24 +0100
committerNikhil Raj <nikhil.raj@arm.com>2022-07-27 15:52:23 +0100
commitb1f5f700c5efae12598b01bc3f055f5dd2bd6e2e (patch)
treee0cc283661d90940fb919142dae5e20cefb9d163 /delegate/src/armnn_delegate.cpp
parent2d213a759e68f753ef4696e02a8535f7edfe421d (diff)
downloadarmnn-b1f5f700c5efae12598b01bc3f055f5dd2bd6e2e.tar.gz
IVGCVSW-7094 Add LOG and SIN support to tflite delegate
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I355298f365b82cad1e3f46cfebf1c1375716cf92
Diffstat (limited to 'delegate/src/armnn_delegate.cpp')
-rw-r--r--delegate/src/armnn_delegate.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/delegate/src/armnn_delegate.cpp b/delegate/src/armnn_delegate.cpp
index 1b6d68eb7a..eac3862c18 100644
--- a/delegate/src/armnn_delegate.cpp
+++ b/delegate/src/armnn_delegate.cpp
@@ -722,6 +722,12 @@ TfLiteStatus ArmnnSubgraph::VisitNode(DelegateData& delegateData,
tfLiteNode,
nodeIndex,
kTfLiteBuiltinLocalResponseNormalization);
+ case kTfLiteBuiltinLog:
+ return VisitElementwiseUnaryOperator(delegateData,
+ tfLiteContext,
+ tfLiteNode,
+ nodeIndex,
+ armnn::UnaryOperation::Log);
case kTfLiteBuiltinLogicalAnd:
return VisitLogicalBinaryOperator(delegateData,
tfLiteContext,
@@ -910,6 +916,12 @@ TfLiteStatus ArmnnSubgraph::VisitNode(DelegateData& delegateData,
tfLiteNode,
nodeIndex,
kTfLiteBuiltinShape);
+ case kTfLiteBuiltinSin:
+ return VisitElementwiseUnaryOperator(delegateData,
+ tfLiteContext,
+ tfLiteNode,
+ nodeIndex,
+ armnn::UnaryOperation::Sin);
case kTfLiteBuiltinSplit:
return VisitSplitOperator(delegateData,
tfLiteContext,