ArmNN
 24.02
ClPadWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
9 #include "ClBaseWorkload.hpp"
10 #include <arm_compute/runtime/CL/functions/CLPadLayer.h>
11 
12 namespace armnn {
13 
14 class ClPadWorkload : public ClBaseWorkload<PadQueueDescriptor>
15 {
16 public:
17  ClPadWorkload(const PadQueueDescriptor& descriptor,
18  const WorkloadInfo& info,
19  const arm_compute::CLCompileContext& clCompileContext);
20 
21  void Execute() const override;
22 
23 private:
24  mutable arm_compute::CLPadLayer m_Layer;
25 };
26 
28  const TensorInfo& output,
29  const PadDescriptor& descriptor);
30 
31 } //namespace armnn
armnn::ClPadWorkload::ClPadWorkload
ClPadWorkload(const PadQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
Definition: ClPadWorkload.cpp:19
WorkloadData.hpp
armnn::TensorInfo
Definition: Tensor.hpp:152
armnn::ClPadWorkload
Definition: ClPadWorkload.hpp:14
armnn::ClBaseWorkload
Definition: ClBaseWorkload.hpp:13
armnn::PadDescriptor
A PadDescriptor for the PadLayer.
Definition: Descriptors.hpp:1196
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::ClPadValidate
arm_compute::Status ClPadValidate(const TensorInfo &input, const TensorInfo &output, const PadDescriptor &descriptor)
Definition: ClPadWorkload.cpp:62
armnn::BoostLogSeverityMapping::info
@ info
armnn::ClPadWorkload::Execute
void Execute() const override
Definition: ClPadWorkload.cpp:56
armnn::Status
Status
Definition: Types.hpp:42
armnn::PadQueueDescriptor
Definition: WorkloadData.hpp:294
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
ClBaseWorkload.hpp