blob: 2262f33c73f431c975018e9858a4a14326f84ac4 [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>
Matthew Bentham9b3e7382020-02-05 21:39:55 +00009#include <arm_compute/runtime/CL/functions/CLBatchToSpaceLayer.h>
Mike Kelly831faed2018-11-28 11:52:08 +000010
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:
Sadik Armagane9444752020-12-02 11:28:58 +000021 ClBatchToSpaceNdWorkload(const BatchToSpaceNdQueueDescriptor& descriptor,
22 const WorkloadInfo& info,
23 const arm_compute::CLCompileContext& clCompileContext);
Mike Kelly831faed2018-11-28 11:52:08 +000024
25 void Execute() const override;
26
27private:
28
29 mutable arm_compute::CLBatchToSpaceLayer m_Layer;
30};
31
32} //namespace armnn