ArmNN
 24.02
ClPooling3dWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2022 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/CLPooling3dLayer.h>
11 
12 namespace armnn
13 {
14 
15  arm_compute::Status ClPooling3dWorkloadValidate(const TensorInfo& input,
16  const TensorInfo& output,
17  const Pooling3dDescriptor& descriptor);
18 
19  class ClPooling3dWorkload : public ClBaseWorkload<Pooling3dQueueDescriptor>
20  {
21  public:
23 
25  const WorkloadInfo& info,
26  const arm_compute::CLCompileContext& clCompileContext);
27 
28  void Execute() const override;
29 
30  private:
31  mutable arm_compute::CLPooling3dLayer m_PoolingLayer;
32  };
33 
34 } //namespace armnn
armnn::ClBaseWorkload
Definition: ClBaseWorkload.hpp:13
armnn::ClPooling3dWorkload
Definition: ClPooling3dWorkload.hpp:19
armnn::ClPooling3dWorkloadValidate
arm_compute::Status ClPooling3dWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const Pooling3dDescriptor &descriptor)
Definition: ClPooling3dWorkload.cpp:18
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::Pooling3dQueueDescriptor
Definition: WorkloadData.hpp:203
armnn::ClPooling3dWorkload::ClPooling3dWorkload
ClPooling3dWorkload(const Pooling3dQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
Definition: ClPooling3dWorkload.cpp:30
armnn::BoostLogSeverityMapping::info
@ info
armnn::BaseWorkload
Definition: Workload.hpp:33
armnn::Status
Status
Definition: Types.hpp:42
armnnDeserializer::Pooling3dDescriptor
const armnnSerializer::Pooling3dDescriptor * Pooling3dDescriptor
Definition: Deserializer.hpp:22
armnn::ClPooling3dWorkload::Execute
void Execute() const override
Definition: ClPooling3dWorkload.cpp:65
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
ClBaseWorkload.hpp