ArmNN
 25.11
Loading...
Searching...
No Matches
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
16namespace armnn
17{
18
19arm_compute::Status ClPermuteWorkloadValidate(const TensorInfo& input,
20 const TensorInfo& output,
21 const PermuteDescriptor& descriptor);
22
23class ClPermuteWorkload : public ClBaseWorkload<PermuteQueueDescriptor>
24{
25public:
27 const WorkloadInfo& info,
28 const arm_compute::CLCompileContext& clCompileContext);
29 void Execute() const override;
30
31private:
33 mutable arm_compute::CLPermute m_PermuteFunction;
34};
35
36} // namespace armnn
ClBaseWorkload(const PermuteQueueDescriptor &descriptor, const WorkloadInfo &info)
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)
A PermuteDescriptor for the PermuteLayer.
Contains information about TensorInfos of a layer.