24.08
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
14
namespace
armnn
15
{
16
arm_compute::Status
ClReverseV2WorkloadValidate
(
const
TensorInfo& input,
17
const
TensorInfo& axis,
18
const
TensorInfo& output);
19
20
class
ClReverseV2Workload
:
public
BaseWorkload
<ReverseV2QueueDescriptor>
21
{
22
public
:
23
ClReverseV2Workload
(
const
ReverseV2QueueDescriptor
&descriptor,
24
const
WorkloadInfo
&
info
,
25
const
arm_compute::CLCompileContext& clCompileContext);
26
27
void
Execute
()
const override
;
28
29
private
:
30
mutable
arm_compute::CLReverse m_Layer;
31
};
32
33
}
//namespace armnn
armnn::ClReverseV2Workload::ClReverseV2Workload
ClReverseV2Workload(const ReverseV2QueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
Definition:
ClReverseV2Workload.cpp:27
armnn::ClReverseV2Workload
Definition:
ClReverseV2Workload.hpp:20
armnn::ReverseV2QueueDescriptor
Definition:
WorkloadData.hpp:758
armnn::ClReverseV2Workload::Execute
void Execute() const override
Definition:
ClReverseV2Workload.cpp:44
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
armnn::ClReverseV2WorkloadValidate
arm_compute::Status ClReverseV2WorkloadValidate(const TensorInfo &input, const TensorInfo &axis, const TensorInfo &output)
Definition:
ClReverseV2Workload.cpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::BaseWorkload
Definition:
Workload.hpp:33
armnn::Status
Status
Definition:
Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
ClBaseWorkload.hpp
src
backends
cl
workloads
ClReverseV2Workload.hpp
Generated on Wed Aug 28 2024 14:31:50 for Arm NN by
1.8.17