25.02
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
Variables
Typedefs
a
b
c
d
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
Enumerations
a
b
c
d
e
f
g
j
l
m
n
o
p
q
r
s
t
u
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
c
d
e
f
j
l
m
o
p
r
s
v
w
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
o
r
s
t
u
v
x
z
Functions
a
b
c
d
f
g
i
m
r
s
t
v
z
Variables
Typedefs
Macros
a
c
d
e
f
h
l
m
o
s
t
u
v
x
Examples
▼
Arm NN
►
Quick Start Guide
►
Arm NN Operators
►
Build Guides
►
Contribution Guides
►
Software Components
Frequently asked questions
Contribution Guidelines
►
Namespaces
►
Classes
▼
Files
►
File List
►
File Members
►
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
RefElementwiseUnaryWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2022, 2024 Arm Ltd and Contributors. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include "
BaseIterator.hpp
"
9
10
#include "
RefBaseWorkload.hpp
"
11
#include <
armnn/backends/WorkloadData.hpp
>
12
13
namespace
armnn
14
{
15
16
class
RefElementwiseUnaryWorkload
:
public
RefBaseWorkload
<ElementwiseUnaryQueueDescriptor>
17
{
18
public
:
19
using
RefBaseWorkload<ElementwiseUnaryQueueDescriptor>::m_Data
;
20
21
RefElementwiseUnaryWorkload
(
const
ElementwiseUnaryQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
22
void
Execute
()
const override
;
23
24
private
:
25
void
Execute
(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs)
const
;
26
using
InType = float;
27
using
OutType = float;
28
};
29
30
}
// namespace armnn
BaseIterator.hpp
RefBaseWorkload.hpp
WorkloadData.hpp
armnn::RefBaseWorkload
Definition:
RefBaseWorkload.hpp:14
armnn::RefElementwiseUnaryWorkload
Definition:
RefElementwiseUnaryWorkload.hpp:17
armnn::RefElementwiseUnaryWorkload::RefElementwiseUnaryWorkload
RefElementwiseUnaryWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
RefElementwiseUnaryWorkload.cpp:29
armnn::RefElementwiseUnaryWorkload::Execute
void Execute() const override
Definition:
RefElementwiseUnaryWorkload.cpp:34
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:7
armnn::BoostLogSeverityMapping::info
@ info
armnn::ElementwiseUnaryQueueDescriptor
Definition:
WorkloadData.hpp:677
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:17
src
backends
reference
workloads
RefElementwiseUnaryWorkload.hpp
Generated on Mon Feb 17 2025 21:34:26 for Arm NN by
1.9.1