Keith Davis | a57eccb | 2019-06-14 17:33:22 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | #pragma once |
| 6 | |
Matteo Martincigh | e5b8eb9 | 2019-11-28 15:45:42 +0000 | [diff] [blame] | 7 | #include <backendsCommon/Workload.hpp> |
Keith Davis | a57eccb | 2019-06-14 17:33:22 +0100 | [diff] [blame] | 8 | |
| 9 | #include <armnn/TypesUtils.hpp> |
| 10 | |
| 11 | namespace armnn |
| 12 | { |
| 13 | |
| 14 | class RefSpaceToDepthWorkload : public BaseWorkload<SpaceToDepthQueueDescriptor> |
| 15 | { |
| 16 | public: |
| 17 | using BaseWorkload<SpaceToDepthQueueDescriptor>::BaseWorkload; |
Finn Williams | b8181f7 | 2021-04-07 10:23:21 +0100 | [diff] [blame] | 18 | void Execute() const override; |
| 19 | void ExecuteAsync(WorkingMemDescriptor& workingMemDescriptor) override; |
| 20 | private: |
| 21 | void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const; |
Keith Davis | a57eccb | 2019-06-14 17:33:22 +0100 | [diff] [blame] | 22 | }; |
| 23 | |
| 24 | } //namespace armnn |