diff options
Diffstat (limited to 'delegate/src/Lstm.hpp')
-rw-r--r-- | delegate/src/Lstm.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/delegate/src/Lstm.hpp b/delegate/src/Lstm.hpp index b082db66b9..253cd2162d 100644 --- a/delegate/src/Lstm.hpp +++ b/delegate/src/Lstm.hpp @@ -1,5 +1,5 @@ // -// Copyright © 2020 Arm Ltd and Contributors. All rights reserved. +// Copyright © 2022 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -149,7 +149,7 @@ TfLiteStatus VisitLstmOperator(DelegateData& delegateData, || params.m_OutputLayerNormWeights != nullptr); const armnn::TensorInfo& inputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteInputTensor); - const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor); + const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor, true); unsigned int batchSize = inputTensorInfo.GetShape()[0]; unsigned int outputSize = outputTensorInfo.GetShape()[1]; |