blob: 9e5ebff8428877c72557a483ece29ed8d861fb39 [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
Colm Donelan0c479742021-12-10 12:43:54 +00008#include <armnn/backends/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,
Keith Davisbcd860a2021-08-05 14:20:33 +010016 const BatchToSpaceNdDescriptor& descriptor);
Mike Kelly831faed2018-11-28 11:52:08 +000017
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