aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/Gather.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/src/Gather.hpp')
-rw-r--r--delegate/src/Gather.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/delegate/src/Gather.hpp b/delegate/src/Gather.hpp
index 11f3b615ce..616de7e09e 100644
--- a/delegate/src/Gather.hpp
+++ b/delegate/src/Gather.hpp
@@ -47,7 +47,7 @@ TfLiteStatus VisitGatherOperator(DelegateData& delegateData,
const armnn::TensorInfo& inputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteInputTensor);
const armnn::TensorInfo& indicesTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteIndicesTensor);
- const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor);
+ const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor, true);
armnn::GatherDescriptor gatherDescriptor;
gatherDescriptor.m_Axis = axis;