aboutsummaryrefslogtreecommitdiff
path: root/src/backends/neon/workloads/NeonReverseV2Workload.hpp
blob: fa6a71d39297f2b9d1009678bbc283dd8693fc8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
// Copyright © 2023 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include "NeonBaseWorkload.hpp"

#include <arm_compute/runtime/NEON/functions/NEReverse.h>
#include <arm_compute/runtime/Tensor.h>

namespace armnn
{
arm_compute::Status NeonReverseV2WorkloadValidate(const TensorInfo& input,
                                                  const TensorInfo& axis,
                                                  const TensorInfo& output);

class NeonReverseV2Workload : public BaseWorkload<ReverseV2QueueDescriptor>
{
public:
    NeonReverseV2Workload(const ReverseV2QueueDescriptor& descriptor, const WorkloadInfo& info);
    void Execute() const override;

private:
    mutable arm_compute::NEReverse m_Layer;
};

} // namespace armnn