24.08
NeonPermuteWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2017-2018,2021-2023 Arm Ltd and Contributors. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include "
NeonBaseWorkload.hpp
"
9
#include <
armnn/backends/WorkloadData.hpp
>
10
#include <
neon/workloads/NeonWorkloadUtils.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
NeonPermuteWorkloadValidate
(
const
TensorInfo& input,
const
TensorInfo& output,
20
const
PermuteDescriptor& descriptor);
21
22
class
NeonPermuteWorkload
:
public
NeonBaseWorkload
<PermuteQueueDescriptor>
23
{
24
public
:
25
NeonPermuteWorkload
(
const
PermuteQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
26
void
Execute
()
const override
;
27
28
private
:
29
using
BaseWorkload<PermuteQueueDescriptor>::m_Data
;
30
mutable
arm_compute::NEPermute m_PermuteFunction;
31
};
32
33
}
// namespace armnn
WorkloadData.hpp
TypesUtils.hpp
NeonBaseWorkload.hpp
armnn::NeonPermuteWorkloadValidate
arm_compute::Status NeonPermuteWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const PermuteDescriptor &descriptor)
Definition:
NeonPermuteWorkload.cpp:15
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::BaseWorkload
Definition:
Workload.hpp:33
armnn::NeonPermuteWorkload::Execute
void Execute() const override
Definition:
NeonPermuteWorkload.cpp:49
armnn::Status
Status
Definition:
Types.hpp:42
NeonWorkloadUtils.hpp
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
armnn::NeonPermuteWorkload::NeonPermuteWorkload
NeonPermuteWorkload(const PermuteQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
NeonPermuteWorkload.cpp:27
armnn::NeonPermuteWorkload
Definition:
NeonPermuteWorkload.hpp:22
armnn::NeonBaseWorkload
Definition:
NeonBaseWorkload.hpp:13
armnn::PermuteQueueDescriptor
Definition:
WorkloadData.hpp:191
src
backends
neon
workloads
NeonPermuteWorkload.hpp
Generated on Wed Aug 28 2024 14:31:51 for Arm NN by
1.8.17