ArmNN
 22.05.01
ClPooling2dWorkload.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 
8 #include "ClBaseWorkload.hpp"
9 
10 #include <arm_compute/runtime/CL/functions/CLPoolingLayer.h>
11 
12 namespace armnn
13 {
14 
15 arm_compute::Status ClPooling2dWorkloadValidate(const TensorInfo& input,
16  const TensorInfo& output,
17  const Pooling2dDescriptor& descriptor);
18 
19 class ClPooling2dWorkload : public ClBaseWorkload<Pooling2dQueueDescriptor>
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::CLPoolingLayer m_PoolingLayer;
32 };
33 
34 } //namespace armnn
void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
const armnnSerializer::Pooling2dDescriptor * Pooling2dDescriptor
arm_compute::Status ClPooling2dWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const Pooling2dDescriptor &descriptor)
Status
enumeration
Definition: Types.hpp:42
Contains information about TensorInfos of a layer.
ClPooling2dWorkload(const Pooling2dQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)