ArmNN
 25.11
Loading...
Searching...
No Matches
ClDepthToSpaceWorkload.hpp
Go to the documentation of this file.
1//
2// Copyright © 2019 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
9
10#include "ClBaseWorkload.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& descriptor);
20
21class ClDepthToSpaceWorkload : public ClBaseWorkload<DepthToSpaceQueueDescriptor>
22{
23public:
25 const WorkloadInfo& info,
26 const arm_compute::CLCompileContext& clCompileContext);
27 void Execute() const override;
28
29private:
30 mutable arm_compute::CLDepthToSpaceLayer m_Layer;
31};
32
33} // namespace armnn
ClBaseWorkload(const DepthToSpaceQueueDescriptor &descriptor, const WorkloadInfo &info)
ClDepthToSpaceWorkload(const DepthToSpaceQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
Copyright (c) 2021 ARM Limited and Contributors.
SpaceToDepthDescriptor DepthToSpaceDescriptor
A DepthToSpaceDescriptor for the DepthToSpaceLayer.
arm_compute::Status ClDepthToSpaceWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const DepthToSpaceDescriptor &descriptor)
Contains information about TensorInfos of a layer.