blob: 60d4a500e03ed5d81e2bf3263b8ab4391ccee125 [file] [log] [blame]
Tianle Cheng21a9f332023-11-09 13:56:53 +00001//
2// Copyright © 2023 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include "ClBaseWorkload.hpp"
9
10#include <arm_compute/runtime/CL/functions/CLReverse.h>
11#include <arm_compute/runtime/Tensor.h>
12#include "arm_compute/runtime/CL/CLTensor.h"
13
14namespace armnn
15{
16arm_compute::Status ClReverseV2WorkloadValidate(const TensorInfo& input,
17 const TensorInfo& axis,
18 const TensorInfo& output);
19
20class ClReverseV2Workload : public BaseWorkload<ReverseV2QueueDescriptor>
21{
22public:
23 ClReverseV2Workload(const ReverseV2QueueDescriptor &descriptor,
24 const WorkloadInfo &info,
25 const arm_compute::CLCompileContext& clCompileContext);
26
27 void Execute() const override;
28
29private:
30 mutable arm_compute::CLReverse m_Layer;
31};
32
33} //namespace armnn