ArmNN
 24.08
NeonPooling2dWorkload.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 "NeonBaseWorkload.hpp"
9 
10 #include <arm_compute/core/Error.h>
11 #include <arm_compute/runtime/IFunction.h>
12 
13 #include <memory>
14 
15 namespace armnn
16 {
17 
19  const TensorInfo& output,
20  const Pooling2dDescriptor& descriptor);
21 
22 class NeonPooling2dWorkload : public NeonBaseWorkload<Pooling2dQueueDescriptor>
23 {
24 public:
26 
28 
29  void Execute() const override;
30 
31 private:
32  std::unique_ptr<arm_compute::IFunction> m_PoolingLayer;
33 };
34 
35 } //namespace armnn
NeonBaseWorkload.hpp
armnn::NeonPooling2dWorkload::Execute
void Execute() const override
Definition: NeonPooling2dWorkload.cpp:62
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::BaseWorkload
Definition: Workload.hpp:33
armnn::Pooling2dQueueDescriptor
Definition: WorkloadData.hpp:197
armnn::Status
Status
Definition: Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonPooling2dWorkload
Definition: NeonPooling2dWorkload.hpp:22
armnn::NeonPooling2dWorkloadValidate
arm_compute::Status NeonPooling2dWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const Pooling2dDescriptor &descriptor)
Definition: NeonPooling2dWorkload.cpp:22
armnn::NeonPooling2dWorkload::NeonPooling2dWorkload
NeonPooling2dWorkload(const Pooling2dQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonPooling2dWorkload.cpp:36
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13
armnnDeserializer::Pooling2dDescriptor
const armnnSerializer::Pooling2dDescriptor * Pooling2dDescriptor
Definition: Deserializer.hpp:21