24.08
NeonSoftmaxWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include <
armnn/Descriptors.hpp
>
9
#include "
NeonBaseWorkload.hpp
"
10
11
#include <arm_compute/core/Error.h>
12
#include <arm_compute/runtime/IFunction.h>
13
#include <arm_compute/runtime/MemoryManagerOnDemand.h>
14
15
#include <memory>
16
17
namespace
armnn
18
{
19
20
arm_compute::Status
NeonSoftmaxWorkloadValidate
(
const
TensorInfo& input,
21
const
TensorInfo& output,
22
const
SoftmaxDescriptor& descriptor);
23
24
class
NeonSoftmaxWorkload
:
public
NeonBaseWorkload
<SoftmaxQueueDescriptor>
25
{
26
public
:
27
NeonSoftmaxWorkload
(
const
SoftmaxQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
,
28
std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager);
29
virtual
void
Execute
()
const override
;
30
31
private
:
32
std::unique_ptr<arm_compute::IFunction> m_SoftmaxLayer;
33
};
34
35
}
//namespace armnn
36
Descriptors.hpp
NeonBaseWorkload.hpp
armnn::NeonSoftmaxWorkload::NeonSoftmaxWorkload
NeonSoftmaxWorkload(const SoftmaxQueueDescriptor &descriptor, const WorkloadInfo &info, std::shared_ptr< arm_compute::MemoryManagerOnDemand > &memoryManager)
Definition:
NeonSoftmaxWorkload.cpp:33
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
armnn::NeonSoftmaxWorkloadValidate
arm_compute::Status NeonSoftmaxWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const SoftmaxDescriptor &descriptor)
Definition:
NeonSoftmaxWorkload.cpp:19
armnn::BoostLogSeverityMapping::info
@ info
armnn::SoftmaxQueueDescriptor
Definition:
WorkloadData.hpp:105
armnn::NeonSoftmaxWorkload
Definition:
NeonSoftmaxWorkload.hpp:24
armnn::Status
Status
Definition:
Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
armnn::NeonSoftmaxWorkload::Execute
virtual void Execute() const override
Definition:
NeonSoftmaxWorkload.cpp:55
armnn::NeonBaseWorkload
Definition:
NeonBaseWorkload.hpp:13
src
backends
neon
workloads
NeonSoftmaxWorkload.hpp
Generated on Wed Aug 28 2024 14:31:51 for Arm NN by
1.8.17