aboutsummaryrefslogtreecommitdiff
path: root/src/backends/tosaCommon/operatorMappings/ElementwiseUnaryOperator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/tosaCommon/operatorMappings/ElementwiseUnaryOperator.cpp')
-rw-r--r--src/backends/tosaCommon/operatorMappings/ElementwiseUnaryOperator.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backends/tosaCommon/operatorMappings/ElementwiseUnaryOperator.cpp b/src/backends/tosaCommon/operatorMappings/ElementwiseUnaryOperator.cpp
index 17ea64b984..02dddab8bc 100644
--- a/src/backends/tosaCommon/operatorMappings/ElementwiseUnaryOperator.cpp
+++ b/src/backends/tosaCommon/operatorMappings/ElementwiseUnaryOperator.cpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2023 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2023-2024 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -44,8 +44,6 @@ TosaSerializationBasicBlock* ConvertElementwiseUnaryOperator(const Layer* layer,
throw armnn::Exception("ConvertElementwiseUnaryToTosaOperator: Unsupported layer type.");
}
- ARMNN_ASSERT(op != nullptr);
-
std::vector<TosaSerializationTensor*> tensors;
// Only add input tensor if connected layer is an input layer.
// As intermediate or constant tensors will be created separately.