ArmNN
 25.02
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ClPermuteWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017-2023 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "ClBaseWorkload.hpp"
10 
11 #include <armnn/TypesUtils.hpp>
12 #include <arm_compute/runtime/CL/functions/CLPermute.h>
13 
14 #include <string>
15 
16 namespace armnn
17 {
18 
19 arm_compute::Status ClPermuteWorkloadValidate(const TensorInfo& input,
20  const TensorInfo& output,
21  const PermuteDescriptor& descriptor);
22 
23 class ClPermuteWorkload : public ClBaseWorkload<PermuteQueueDescriptor>
24 {
25 public:
26  ClPermuteWorkload(const PermuteQueueDescriptor& descriptor,
27  const WorkloadInfo& info,
28  const arm_compute::CLCompileContext& clCompileContext);
29  void Execute() const override;
30 
31 private:
33  mutable arm_compute::CLPermute m_PermuteFunction;
34 };
35 
36 } // namespace armnn
ClPermuteWorkload(const PermuteQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
arm_compute::Status ClPermuteWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const PermuteDescriptor &descriptor)
Status
enumeration
Definition: Types.hpp:43
Contains information about TensorInfos of a layer.