24.08
ClDepthToSpaceWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2019 Arm Ltd and Contributors. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include <
armnn/Descriptors.hpp
>
9
10
#include "
ClBaseWorkload.hpp
"
11
12
#include <arm_compute/runtime/CL/functions/CLDepthToSpaceLayer.h>
13
14
namespace
armnn
15
{
16
17
arm_compute::Status
ClDepthToSpaceWorkloadValidate
(
const
TensorInfo& input,
18
const
TensorInfo& output,
19
const
DepthToSpaceDescriptor
& descriptor);
20
21
class
ClDepthToSpaceWorkload
:
public
ClBaseWorkload
<DepthToSpaceQueueDescriptor>
22
{
23
public
:
24
ClDepthToSpaceWorkload
(
const
DepthToSpaceQueueDescriptor
& descriptor,
25
const
WorkloadInfo
&
info
,
26
const
arm_compute::CLCompileContext& clCompileContext);
27
void
Execute
()
const override
;
28
29
private
:
30
mutable
arm_compute::CLDepthToSpaceLayer m_Layer;
31
};
32
33
}
// namespace armnn
armnn::ClDepthToSpaceWorkload
Definition:
ClDepthToSpaceWorkload.hpp:21
armnn::DepthToSpaceDescriptor
SpaceToDepthDescriptor DepthToSpaceDescriptor
A DepthToSpaceDescriptor for the DepthToSpaceLayer.
Definition:
Descriptors.hpp:1099
Descriptors.hpp
armnn::ClDepthToSpaceWorkloadValidate
arm_compute::Status ClDepthToSpaceWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const DepthToSpaceDescriptor &descriptor)
Definition:
ClDepthToSpaceWorkload.cpp:22
armnn::ClBaseWorkload
Definition:
ClBaseWorkload.hpp:13
armnn::ClDepthToSpaceWorkload::Execute
void Execute() const override
Definition:
ClDepthToSpaceWorkload.cpp:70
armnn::ClDepthToSpaceWorkload::ClDepthToSpaceWorkload
ClDepthToSpaceWorkload(const DepthToSpaceQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
Definition:
ClDepthToSpaceWorkload.cpp:39
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::Status
Status
Definition:
Types.hpp:42
armnn::DepthToSpaceQueueDescriptor
Definition:
WorkloadData.hpp:661
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
ClBaseWorkload.hpp
src
backends
cl
workloads
ClDepthToSpaceWorkload.hpp
Generated on Wed Aug 28 2024 14:31:50 for Arm NN by
1.8.17