diff options
author | Sadik Armagan <sadik.armagan@arm.com> | 2022-08-05 16:12:49 +0100 |
---|---|---|
committer | Sadik Armagan <sadik.armagan@arm.com> | 2022-08-08 09:23:37 +0100 |
commit | 351f334b5480d7aacc8b8ddd916a3ecb74d0c6c1 (patch) | |
tree | 1b4ea68c8f66e726373814682e747cea8f50be51 /delegate/src/UnidirectionalSequenceLstm.hpp | |
parent | 7dbaaa57148c061396c241911936d2e40fd68b7a (diff) | |
download | armnn-351f334b5480d7aacc8b8ddd916a3ecb74d0c6c1.tar.gz |
IVGCVSW-7154 'Constant Tensors As Inputs'
* Fixed the issues about converting Conv2D and DepthwiseConv2d input issues
* Read 1D input tensors that do not have shape specified
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I12f3d1c57a2afedac42c6e7b31e4b1fc689abeca
Diffstat (limited to 'delegate/src/UnidirectionalSequenceLstm.hpp')
-rw-r--r-- | delegate/src/UnidirectionalSequenceLstm.hpp | 4 |
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]; |