ArmNN
 21.02
ClPooling2dWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
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 BaseWorkload<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.
arm_compute::Status ClPooling2dWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const Pooling2dDescriptor &descriptor)
Status
enumeration
Definition: Types.hpp:26
Contains information about inputs and outputs to a layer.
ClPooling2dWorkload(const Pooling2dQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)