diff options
author | Sadik Armagan <sadik.armagan@arm.com> | 2020-11-27 12:40:52 +0000 |
---|---|---|
committer | TeresaARM <teresa.charlinreyes@arm.com> | 2020-11-30 15:12:22 +0000 |
commit | 34fa1bd7994af9abf52dbcc4aa808d0fa5f14aa3 (patch) | |
tree | 8ff6041b92da57cd56ccbcd3b746bdc0fb29078a /delegate/src/armnn_delegate.cpp | |
parent | b7fa5104715e097bf3778d2485d759a4612460cc (diff) | |
download | armnn-34fa1bd7994af9abf52dbcc4aa808d0fa5f14aa3.tar.gz |
IVGCVSW-5393 'TfLiteDelegate: Implement the split operators'
* Added SPLIT and SPLIT_V support to armnn_delegate
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I2def9b8be783b25ef17a997e521c6027553035d3
Diffstat (limited to 'delegate/src/armnn_delegate.cpp')
-rw-r--r-- | delegate/src/armnn_delegate.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/delegate/src/armnn_delegate.cpp b/delegate/src/armnn_delegate.cpp index d2b1796708..9097211241 100644 --- a/delegate/src/armnn_delegate.cpp +++ b/delegate/src/armnn_delegate.cpp @@ -27,6 +27,7 @@ #include "Slice.hpp" #include "Softmax.hpp" #include "SpaceDepth.hpp" +#include "Split.hpp" #include "Transpose.hpp" #include <flatbuffers/flatbuffers.h> @@ -714,6 +715,18 @@ TfLiteStatus ArmnnSubgraph::VisitNode(DelegateData& delegateData, tfLiteNode, nodeIndex, armnn::UnaryOperation::Rsqrt); + case kTfLiteBuiltinSplit: + return VisitSplitOperator(delegateData, + tfLiteContext, + tfLiteNode, + nodeIndex, + kTfLiteBuiltinSplit); + case kTfLiteBuiltinSplitV: + return VisitSplitVOperator(delegateData, + tfLiteContext, + tfLiteNode, + nodeIndex, + kTfLiteBuiltinSplitV); case kTfLiteBuiltinSqrt: return VisitElementwiseUnaryOperator(delegateData, tfLiteContext, |