blob: 4db84a2787b02233a340a7d1184bfb42d13153e4 [file] [log] [blame]
Mike Kelly831faed2018-11-28 11:52:08 +00001//
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
11namespace armnn
12{
13
14arm_compute::Status ClBatchToSpaceNdWorkloadValidate(const TensorInfo& input,
15 const TensorInfo& output,
16 const BatchToSpaceNdDescriptor& desc);
17
18class ClBatchToSpaceNdWorkload : public BaseWorkload<BatchToSpaceNdQueueDescriptor>
19{
20public:
21 ClBatchToSpaceNdWorkload(const BatchToSpaceNdQueueDescriptor& descriptor, const WorkloadInfo& info);
22
23 void Execute() const override;
24
25private:
26
27 mutable arm_compute::CLBatchToSpaceLayer m_Layer;
28};
29
30} //namespace armnn