aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers
diff options
context:
space:
mode:
authorNarumol Prangnawarat <narumol.prangnawarat@arm.com>2020-11-18 16:52:07 +0000
committerNarumol Prangnawarat <narumol.prangnawarat@arm.com>2020-11-18 19:00:53 +0000
commit0c95f4cd319874ffa4aba3a378e0e3346f688fdc (patch)
tree3c58b21e70304539508c9e8d563b34ba75fd9839 /src/armnn/layers
parent1670b0c047ab56c0b3b68088a3c53f38a91355b4 (diff)
downloadarmnn-0c95f4cd319874ffa4aba3a378e0e3346f688fdc.tar.gz
Fix logical vts skip
* Add Boolean support for Reshape * Use LogicalUnary factory and data type for LogicalNot Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I8e072fde200b7716556ae67f79616458cf98ff20
Diffstat (limited to 'src/armnn/layers')
-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));
}