diff options
Diffstat (limited to 'delegate/src/Prelu.hpp')
-rw-r--r-- | delegate/src/Prelu.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/delegate/src/Prelu.hpp b/delegate/src/Prelu.hpp index aef70e8e5b..398abaf4cc 100644 --- a/delegate/src/Prelu.hpp +++ b/delegate/src/Prelu.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 // @@ -69,7 +69,7 @@ TfLiteStatus VisitPreluOperator(DelegateData& delegateData, const armnn::TensorInfo& inputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteInputTensor); const armnn::TensorInfo& alphaTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteAlphaTensor); - const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor); + const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor, true); if (!delegateData.m_Network) { |