ArmNN
 20.08
NeonPooling2dWorkload.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/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 BaseWorkload<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
NeonPooling2dWorkload(const Pooling2dQueueDescriptor &descriptor, const WorkloadInfo &info)
Copyright (c) 2020 ARM Limited.
Status
enumeration
Definition: Types.hpp:26
Contains information about inputs and outputs to a layer.
arm_compute::Status NeonPooling2dWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const Pooling2dDescriptor &descriptor)