Mike Kelly | 831faed | 2018-11-28 11:52:08 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <backendsCommon/Workload.hpp> |
| 9 | #include <arm_compute/runtime/CL/CLFunctions.h> |
| 10 | |
| 11 | namespace armnn |
| 12 | { |
| 13 | |
| 14 | arm_compute::Status ClBatchToSpaceNdWorkloadValidate(const TensorInfo& input, |
| 15 | const TensorInfo& output, |
| 16 | const BatchToSpaceNdDescriptor& desc); |
| 17 | |
| 18 | class ClBatchToSpaceNdWorkload : public BaseWorkload<BatchToSpaceNdQueueDescriptor> |
| 19 | { |
| 20 | public: |
| 21 | ClBatchToSpaceNdWorkload(const BatchToSpaceNdQueueDescriptor& descriptor, const WorkloadInfo& info); |
| 22 | |
| 23 | void Execute() const override; |
| 24 | |
| 25 | private: |
| 26 | |
| 27 | mutable arm_compute::CLBatchToSpaceLayer m_Layer; |
| 28 | }; |
| 29 | |
| 30 | } //namespace armnn |