Ryan OShea | 19e7942 | 2022-05-04 00:38:03 +0100 | [diff] [blame^] | 1 | // |
| 2 | // Copyright © 2022 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/runtime/NEON/functions/NEPooling3dLayer.h> |
| 11 | |
| 12 | namespace armnn |
| 13 | { |
| 14 | |
| 15 | arm_compute::Status NeonPooling3dWorkloadValidate(const TensorInfo& input, |
| 16 | const TensorInfo& output, |
| 17 | const Pooling3dDescriptor& descriptor); |
| 18 | |
| 19 | class NeonPooling3dWorkload : public NeonBaseWorkload<Pooling3dQueueDescriptor> |
| 20 | { |
| 21 | public: |
| 22 | using BaseWorkload<Pooling3dQueueDescriptor>::m_Data; |
| 23 | |
| 24 | NeonPooling3dWorkload(const Pooling3dQueueDescriptor& descriptor, |
| 25 | const WorkloadInfo& info); |
| 26 | |
| 27 | void Execute() const override; |
| 28 | |
| 29 | private: |
| 30 | std::unique_ptr<arm_compute::IFunction> m_PoolingLayer; |
| 31 | }; |
| 32 | |
| 33 | } //namespace armnn |