diff options
author | James Conroy <james.conroy@arm.com> | 2020-11-19 14:44:01 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2020-11-19 23:45:56 +0000 |
commit | 58f8ecdbcc7630c56935d1c9640d4eb12daa6bfd (patch) | |
tree | 7b89f2f6dde8b9ad3b2673f75bd08326087fa7de /src/backends/reference/RefLayerSupport.cpp | |
parent | fe73b04129697dfeaebfb37015ce1b19c9a56101 (diff) | |
download | armnn-58f8ecdbcc7630c56935d1c9640d4eb12daa6bfd.tar.gz |
IVGCVSW-5093 Remove redundant LogicalUnary functions
* In favour of ElementwiseUnary functions which
are the currently used code path.
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I34964d2dcabd4b7ddf0b455df17c48e3c6812ee4
Diffstat (limited to 'src/backends/reference/RefLayerSupport.cpp')
-rw-r--r-- | src/backends/reference/RefLayerSupport.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/backends/reference/RefLayerSupport.cpp b/src/backends/reference/RefLayerSupport.cpp index d1933c90c0..bdaaafb0af 100644 --- a/src/backends/reference/RefLayerSupport.cpp +++ b/src/backends/reference/RefLayerSupport.cpp @@ -1147,28 +1147,6 @@ bool RefLayerSupport::IsLogicalBinarySupported(const TensorInfo& input0, return supported; } -bool RefLayerSupport::IsLogicalUnarySupported(const TensorInfo& input, - const TensorInfo& output, - const ElementwiseUnaryDescriptor& descriptor, - Optional<std::string&> reasonIfUnsupported) const -{ - IgnoreUnused(descriptor); - - std::array<DataType, 1> supportedTypes = - { - DataType::Boolean - }; - - bool supported = true; - supported &= CheckSupportRule(TypeAnyOf(input, supportedTypes), reasonIfUnsupported, - "Reference LogicalUnary: input type not supported"); - - supported &= CheckSupportRule(TypesAreEqual(input, output), reasonIfUnsupported, - "Reference LogicalUnary: input and output types do not match"); - - return supported; -} - bool RefLayerSupport::IsLogSoftmaxSupported(const TensorInfo& input, const TensorInfo& output, const LogSoftmaxDescriptor& descriptor, |