21.08
RefElementwiseUnaryWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2019 Arm Ltd. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include "
BaseIterator.hpp
"
9
10
#include <
backendsCommon/Workload.hpp
>
11
#include <
backendsCommon/WorkloadData.hpp
>
12
13
namespace
armnn
14
{
15
16
class
RefElementwiseUnaryWorkload
:
public
BaseWorkload
<ElementwiseUnaryQueueDescriptor>
17
{
18
public
:
19
using
BaseWorkload<ElementwiseUnaryQueueDescriptor>::m_Data
;
20
21
RefElementwiseUnaryWorkload
(
const
ElementwiseUnaryQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
22
void
Execute
()
const override
;
23
void
ExecuteAsync
(
WorkingMemDescriptor
& workingMemDescriptor)
override
;
24
25
private
:
26
void
Execute
(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs)
const
;
27
using
InType = float;
28
using
OutType = float;
29
};
30
31
}
// namespace armnn
WorkloadData.hpp
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_software_tools.dox:6
armnn::experimental::WorkingMemDescriptor
Definition:
WorkingMemDescriptor.hpp:18
BaseIterator.hpp
armnn::BaseWorkload
Definition:
Workload.hpp:29
armnn::RefElementwiseUnaryWorkload::ExecuteAsync
void ExecuteAsync(WorkingMemDescriptor &workingMemDescriptor) override
Definition:
RefElementwiseUnaryWorkload.cpp:38
armnn::RefElementwiseUnaryWorkload
Definition:
RefElementwiseUnaryWorkload.hpp:16
armnn::RefElementwiseUnaryWorkload::RefElementwiseUnaryWorkload
RefElementwiseUnaryWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
RefElementwiseUnaryWorkload.cpp:28
armnn::RefElementwiseUnaryWorkload::Execute
void Execute() const override
Definition:
RefElementwiseUnaryWorkload.cpp:33
Workload.hpp
armnn::BoostLogSeverityMapping::info
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
armnn::ElementwiseUnaryQueueDescriptor
Definition:
WorkloadData.hpp:678
src
backends
reference
workloads
RefElementwiseUnaryWorkload.hpp
Generated on Tue Aug 24 2021 16:18:44 for ArmNN by
1.8.13