ArmNN
 24.02
NeonTransposeWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2020-2023 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "NeonBaseWorkload.hpp"
11 
12 #include <armnn/TypesUtils.hpp>
13 #include <arm_compute/runtime/NEON/functions/NEPermute.h>
14 
15 #include <string>
16 
17 namespace armnn
18 {
19 arm_compute::Status NeonTransposeWorkloadValidate(const TensorInfo& input, const TensorInfo& output,
20  const TransposeDescriptor& descriptor);
21 
22 class NeonTransposeWorkload : public NeonBaseWorkload<TransposeQueueDescriptor>
23 {
24 public:
26  void Execute() const override;
27 
28 private:
30  mutable arm_compute::NEPermute m_PermuteFunction;
31 };
32 
33 } // namespace armnn
armnn::NeonTransposeWorkload::NeonTransposeWorkload
NeonTransposeWorkload(const TransposeQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonTransposeWorkload.cpp:27
WorkloadData.hpp
TypesUtils.hpp
armnn::NeonTransposeWorkload
Definition: NeonTransposeWorkload.hpp:22
NeonBaseWorkload.hpp
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::NeonTransposeWorkloadValidate
arm_compute::Status NeonTransposeWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const TransposeDescriptor &descriptor)
Definition: NeonTransposeWorkload.cpp:15
armnn::BoostLogSeverityMapping::info
@ info
armnn::BaseWorkload
Definition: Workload.hpp:33
armnn::Status
Status
Definition: Types.hpp:42
armnn::TransposeQueueDescriptor
Definition: WorkloadData.hpp:557
NeonWorkloadUtils.hpp
armnn::NeonTransposeWorkload::Execute
void Execute() const override
Definition: NeonTransposeWorkload.cpp:48
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13