aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/Slice.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/src/Slice.hpp')
-rw-r--r--delegate/src/Slice.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/delegate/src/Slice.hpp b/delegate/src/Slice.hpp
index 04b19cb660..6e355ae741 100644
--- a/delegate/src/Slice.hpp
+++ b/delegate/src/Slice.hpp
@@ -111,7 +111,7 @@ TfLiteStatus VisitSliceOperator(DelegateData& delegateData,
}
const armnn::TensorInfo& inputTensorInfo = GetTensorInfoForTfLiteTensor(*tfLiteInputs[0]);
- const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor);
+ const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor, true);
bool isSupported = false;
auto validateFunc = [&](const armnn::TensorInfo& outInfo, bool& isSupported)