aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/ElementwiseUnary.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/src/ElementwiseUnary.hpp')
-rw-r--r--delegate/src/ElementwiseUnary.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/delegate/src/ElementwiseUnary.hpp b/delegate/src/ElementwiseUnary.hpp
index c65ddefa22..79d7f82249 100644
--- a/delegate/src/ElementwiseUnary.hpp
+++ b/delegate/src/ElementwiseUnary.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
//
@@ -47,7 +47,7 @@ TfLiteStatus VisitElementwiseUnaryOperator(DelegateData& delegateData,
}
const armnn::TensorInfo& inputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteInputTensor);
- const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor);
+ const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor, true);
armnn::ElementwiseUnaryDescriptor descriptor(unaryOperation);
bool isSupported = false;