James Conroy | 177df1e | 2020-11-13 10:18:51 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2020 Arm Ltd and Contributors. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <backendsCommon/Workload.hpp> |
| 9 | |
| 10 | #include <arm_compute/core/Error.h> |
| 11 | #include <arm_compute/runtime/NEON/functions/NELogical.h> |
| 12 | |
| 13 | namespace armnn |
| 14 | { |
| 15 | |
| 16 | arm_compute::Status NeonLogicalNotWorkloadValidate(const TensorInfo& input, const TensorInfo& output); |
| 17 | |
| 18 | class NeonLogicalNotWorkload : public BaseWorkload<ElementwiseUnaryQueueDescriptor> |
| 19 | { |
| 20 | public: |
| 21 | NeonLogicalNotWorkload(const ElementwiseUnaryQueueDescriptor& descriptor, const WorkloadInfo& info); |
| 22 | virtual void Execute() const override; |
| 23 | |
| 24 | private: |
| 25 | mutable arm_compute::NELogicalNot m_LogicalNotLayer; |
| 26 | }; |
| 27 | |
| 28 | } //namespace armnn |