24.08
NeonDivisionWorkload.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 "
NeonBaseWorkload.hpp
"
9
10
#include <
neon/workloads/NeonWorkloadUtils.hpp
>
11
12
#include <arm_compute/runtime/NEON/functions/NEElementwiseOperations.h>
13
14
namespace
armnn
15
{
16
17
arm_compute::Status
NeonDivisionWorkloadValidate
(
const
TensorInfo& input0,
18
const
TensorInfo& input1,
19
const
TensorInfo& output,
20
const
ActivationDescriptor* activationDescriptor =
nullptr
);
21
22
class
NeonDivisionWorkload
:
public
NeonBaseWorkload
<DivisionQueueDescriptor>
23
{
24
public
:
25
NeonDivisionWorkload
(
const
DivisionQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
26
27
virtual
void
Execute
()
const override
;
28
29
private
:
30
mutable
arm_compute::NEElementwiseDivision m_DivLayer;
31
};
32
33
}
//namespace armnn
armnn::DivisionQueueDescriptor
Definition:
WorkloadData.hpp:270
armnn::NeonDivisionWorkload
Definition:
NeonDivisionWorkload.hpp:22
NeonBaseWorkload.hpp
armnn::NeonDivisionWorkloadValidate
arm_compute::Status NeonDivisionWorkloadValidate(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, const ActivationDescriptor *activationDescriptor)
Definition:
NeonDivisionWorkload.cpp:18
armnn::NeonDivisionWorkload::NeonDivisionWorkload
NeonDivisionWorkload(const DivisionQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
NeonDivisionWorkload.cpp:36
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::NeonDivisionWorkload::Execute
virtual void Execute() const override
Definition:
NeonDivisionWorkload.cpp:51
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::NeonBaseWorkload
Definition:
NeonBaseWorkload.hpp:13
src
backends
neon
workloads
NeonDivisionWorkload.hpp
Generated on Wed Aug 28 2024 14:31:51 for Arm NN by
1.8.17