Tianle Cheng | 21a9f33 | 2023-11-09 13:56:53 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2023 Arm Ltd and Contributors. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include "NeonBaseWorkload.hpp" |
| 9 | |
| 10 | #include <arm_compute/runtime/NEON/functions/NEReverse.h> |
| 11 | #include <arm_compute/runtime/Tensor.h> |
| 12 | |
| 13 | namespace armnn |
| 14 | { |
| 15 | arm_compute::Status NeonReverseV2WorkloadValidate(const TensorInfo& input, |
| 16 | const TensorInfo& axis, |
| 17 | const TensorInfo& output); |
| 18 | |
| 19 | class NeonReverseV2Workload : public BaseWorkload<ReverseV2QueueDescriptor> |
| 20 | { |
| 21 | public: |
| 22 | NeonReverseV2Workload(const ReverseV2QueueDescriptor& descriptor, const WorkloadInfo& info); |
| 23 | void Execute() const override; |
| 24 | |
| 25 | private: |
| 26 | mutable arm_compute::NEReverse m_Layer; |
| 27 | }; |
| 28 | |
| 29 | } // namespace armnn |