aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/ElementwiseUnaryLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/ElementwiseUnaryLayer.cpp')
-rw-r--r--src/armnn/layers/ElementwiseUnaryLayer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/armnn/layers/ElementwiseUnaryLayer.cpp b/src/armnn/layers/ElementwiseUnaryLayer.cpp
index 74fa16e15f..8c94106818 100644
--- a/src/armnn/layers/ElementwiseUnaryLayer.cpp
+++ b/src/armnn/layers/ElementwiseUnaryLayer.cpp
@@ -24,6 +24,11 @@ std::unique_ptr<IWorkload> ElementwiseUnaryLayer::CreateWorkload(const IWorkload
{
ElementwiseUnaryQueueDescriptor descriptor;
+ if (descriptor.m_Parameters.m_Operation == UnaryOperation::LogicalNot)
+ {
+ return factory.CreateLogicalUnary(descriptor, PrepInfoAndDesc(descriptor));
+ }
+
return factory.CreateElementwiseUnary(descriptor, PrepInfoAndDesc(descriptor));
}