diff options
author | Matthew Sloyan <matthew.sloyan@arm.com> | 2021-10-12 10:26:30 +0100 |
---|---|---|
committer | Matthew Sloyan <matthew.sloyan@arm.com> | 2021-10-22 13:49:51 +0000 |
commit | 81ec994a3ebc8ad02c4a622846cf64b70e1182bd (patch) | |
tree | 83e961072eb7f75986f953e708fbd322ec90f511 /delegate/src/armnn_delegate.cpp | |
parent | 4692e11e5af29b97748a1585a092df6800a0a831 (diff) | |
download | armnn-81ec994a3ebc8ad02c4a622846cf64b70e1182bd.tar.gz |
IVGCVSW-6166 Add Support for Conv3d to TFLite Delegate
* Conv3d is only correctly supported for external delegates
from TF v2.6, as there was a breaking bug in v2.5.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Ib7941307f4c7b0d3dbb7deaa5a90aceb63c1162f
Diffstat (limited to 'delegate/src/armnn_delegate.cpp')
-rw-r--r-- | delegate/src/armnn_delegate.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/delegate/src/armnn_delegate.cpp b/delegate/src/armnn_delegate.cpp index 2ede23c12b..5fbc920a1e 100644 --- a/delegate/src/armnn_delegate.cpp +++ b/delegate/src/armnn_delegate.cpp @@ -522,6 +522,15 @@ TfLiteStatus ArmnnSubgraph::VisitNode(DelegateData& delegateData, tfLiteNode, nodeIndex, kTfLiteBuiltinConv2d); +// Conv3d is only correctly supported for external delegates from TF Lite v2.6, as there was a breaking bug in v2.5. +#if defined(ARMNN_POST_TFLITE_2_5) + case kTfLiteBuiltinConv3d: + return VisitConvolutionOperator(delegateData, + tfLiteContext, + tfLiteNode, + nodeIndex, + kTfLiteBuiltinConv3d); +#endif case kTfLiteBuiltinDepthToSpace: return VisitDepthToSpaceOperator(delegateData, tfLiteContext, |