diff options
Diffstat (limited to 'delegate/src/Shape.hpp')
-rw-r--r-- | delegate/src/Shape.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/delegate/src/Shape.hpp b/delegate/src/Shape.hpp index 51aa8f143b..284dc9fbb7 100644 --- a/delegate/src/Shape.hpp +++ b/delegate/src/Shape.hpp @@ -1,5 +1,5 @@ // -// Copyright © 2021 Arm Ltd and Contributors. All rights reserved. +// Copyright © 2022 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -39,7 +39,7 @@ TfLiteStatus VisitShapeOperator(DelegateData& delegateData, } const armnn::TensorInfo& inputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteInputTensor); - const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor); + const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor, true); auto* shapeParameters = reinterpret_cast<TfLiteShapeParams*>(tfLiteNode->builtin_data); if ( shapeParameters->out_type != kTfLiteInt32 && shapeParameters->out_type != kTfLiteInt64 ) |