blob: de8b4966696e3df26f7427747e97b6c79717fee3 [file] [log] [blame]
Aron Virginas-Tarb2801962019-09-30 11:24:53 +01001//
2// Copyright © 2019 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include <armnn/Descriptors.hpp>
9
10#include <backendsCommon/Workload.hpp>
11
12#include <arm_compute/runtime/CL/functions/CLDepthToSpaceLayer.h>
13
14namespace armnn
15{
16
17arm_compute::Status ClDepthToSpaceWorkloadValidate(const TensorInfo& input,
18 const TensorInfo& output,
19 const DepthToSpaceDescriptor& desc);
20
21class ClDepthToSpaceWorkload : public BaseWorkload<DepthToSpaceQueueDescriptor>
22{
23public:
24 ClDepthToSpaceWorkload(const DepthToSpaceQueueDescriptor& descriptor, const WorkloadInfo& info);
25 void Execute() const override;
26
27private:
28 mutable arm_compute::CLDepthToSpaceLayer m_Layer;
29};
30
31} // namespace armnn