24.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
e
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
i
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
g
i
m
r
s
t
v
z
Variables
Typedefs
Macros
a
c
d
e
f
h
i
l
o
s
t
u
v
x
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
NeonFloorFloatWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include <
armnn/backends/Workload.hpp
>
9
10
#include <arm_compute/runtime/IFunction.h>
11
#include <arm_compute/runtime/Tensor.h>
12
13
#include <memory>
14
15
namespace
armnn
16
{
17
18
class
NeonFloorFloatWorkload
:
public
FloatWorkload
<FloorQueueDescriptor>
19
{
20
public
:
21
NeonFloorFloatWorkload
(
const
FloorQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
22
virtual
void
Execute
()
const override
;
23
// Replace input tensor handle with the given TensorHandle
24
void
ReplaceInputTensorHandle
(
ITensorHandle
* tensorHandle,
unsigned
int
slot)
override
;
25
26
// Replace output tensor handle with the given TensorHandle
27
void
ReplaceOutputTensorHandle
(
ITensorHandle
* tensorHandle,
unsigned
int
slot)
override
;
28
private
:
29
std::unique_ptr<arm_compute::IFunction> m_Layer;
30
virtual
void
Reconfigure();
31
};
32
33
}
//namespace armnn
34
35
36
37
armnn::FloorQueueDescriptor
Definition:
WorkloadData.hpp:395
armnn::ITensorHandle
Definition:
ITensorHandle.hpp:16
armnn::TypedWorkload
Definition:
Workload.hpp:101
armnn::NeonFloorFloatWorkload
Definition:
NeonFloorFloatWorkload.hpp:18
armnn::NeonFloorFloatWorkload::ReplaceOutputTensorHandle
void ReplaceOutputTensorHandle(ITensorHandle *tensorHandle, unsigned int slot) override
Definition:
NeonFloorFloatWorkload.cpp:53
armnn::NeonFloorFloatWorkload::Execute
virtual void Execute() const override
Definition:
NeonFloorFloatWorkload.cpp:30
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
Workload.hpp
armnn::BoostLogSeverityMapping::info
@ info
armnn::NeonFloorFloatWorkload::NeonFloorFloatWorkload
NeonFloorFloatWorkload(const FloorQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
NeonFloorFloatWorkload.cpp:16
armnn::NeonFloorFloatWorkload::ReplaceInputTensorHandle
void ReplaceInputTensorHandle(ITensorHandle *tensorHandle, unsigned int slot) override
Definition:
NeonFloorFloatWorkload.cpp:36
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
src
backends
neon
workloads
NeonFloorFloatWorkload.hpp
Generated on Wed Feb 14 2024 16:36:16 for Arm NN by
1.8.17