aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/UnidirectionalSequenceLstm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/src/UnidirectionalSequenceLstm.hpp')
-rw-r--r--delegate/src/UnidirectionalSequenceLstm.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/delegate/src/UnidirectionalSequenceLstm.hpp b/delegate/src/UnidirectionalSequenceLstm.hpp
index 1a02a0c1bc..64ed778231 100644
--- a/delegate/src/UnidirectionalSequenceLstm.hpp
+++ b/delegate/src/UnidirectionalSequenceLstm.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
//
@@ -182,7 +182,7 @@ TfLiteStatus VisitUnidirectionalSequenceLstmOperator(DelegateData& delegateData,
desc.m_HiddenStateZeroPoint = hiddentensorInfo.GetQuantizationOffset();
}
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()[2];