aboutsummaryrefslogtreecommitdiff
path: root/delegate/opaque/src/armnn_delegate.cpp
diff options
context:
space:
mode:
authorMatthew Sloyan <matthew.sloyan@arm.com>2023-04-28 17:27:26 +0100
committerMatthew Sloyan <matthew.sloyan@arm.com>2023-05-02 11:03:23 +0000
commitc49aacc83370e89435129650a30ef1b384712dfe (patch)
tree5d077bcc282505e68953cddbdea47d919be2b67f /delegate/opaque/src/armnn_delegate.cpp
parente9b81a4571edc238a582e45d14d29ba346da18a9 (diff)
downloadarmnn-c49aacc83370e89435129650a30ef1b384712dfe.tar.gz
IVGCVSW-7603 Implement Reshape operators for Opaque Delegate
* Moved CreateOutputTensorShape function to common DelegateUtils.hpp Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I3d8a9834ecd6b7cda170cce958677a0dde62824a
Diffstat (limited to 'delegate/opaque/src/armnn_delegate.cpp')
-rw-r--r--delegate/opaque/src/armnn_delegate.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/delegate/opaque/src/armnn_delegate.cpp b/delegate/opaque/src/armnn_delegate.cpp
index c96f75dcb3..2fd8142169 100644
--- a/delegate/opaque/src/armnn_delegate.cpp
+++ b/delegate/opaque/src/armnn_delegate.cpp
@@ -1002,6 +1002,12 @@ TfLiteStatus ArmnnSubgraph::VisitNode(DelegateData& delegateData,
tfLiteNode,
nodeIndex,
kTfLiteBuiltinRelu6);
+ case kTfLiteBuiltinReshape:
+ return VisitReshapeOperator(delegateData,
+ tfLiteContext,
+ tfLiteNode,
+ nodeIndex,
+ kTfLiteBuiltinReshape);
case kTfLiteBuiltinResizeNearestNeighbor:
return VisitResizeOperator(delegateData,
tfLiteContext,