ArmNN
 25.11
Loading...
Searching...
No Matches
ClReverseV2Workload.hpp
Go to the documentation of this file.
1//
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:
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
BaseWorkload(const ReverseV2QueueDescriptor &descriptor, const WorkloadInfo &info)
Definition Workload.hpp:35
ClReverseV2Workload(const ReverseV2QueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
Copyright (c) 2021 ARM Limited and Contributors.
arm_compute::Status ClReverseV2WorkloadValidate(const TensorInfo &input, const TensorInfo &axis, const TensorInfo &output)
Contains information about TensorInfos of a layer.