ArmNN
NotReleased
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
PostAllocationConfigure
()
override
;
23
void
Execute
()
const override
;
24
25
private
:
26
using
InType = float;
27
using
OutType = float;
28
29
std::unique_ptr<Decoder<InType>> m_Input;
30
std::unique_ptr<Encoder<OutType>> m_Output;
31
};
32
33
}
// namespace armnn
armnn::ElementwiseUnaryQueueDescriptor
Definition:
WorkloadData.hpp:564
armnn::BoostLogSeverityMapping::info
Workload.hpp
armnn::RefElementwiseUnaryWorkload
Definition:
RefElementwiseUnaryWorkload.hpp:16
armnn::WorkloadInfo
Definition:
WorkloadInfo.hpp:16
BaseIterator.hpp
armnn::RefElementwiseUnaryWorkload::RefElementwiseUnaryWorkload
RefElementwiseUnaryWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
RefElementwiseUnaryWorkload.cpp:26
armnn::RefElementwiseUnaryWorkload::Execute
void Execute() const override
Definition:
RefElementwiseUnaryWorkload.cpp:41
WorkloadData.hpp
armnn
Definition:
BackendHelper.hpp:11
armnn::RefElementwiseUnaryWorkload::PostAllocationConfigure
void PostAllocationConfigure() override
Definition:
RefElementwiseUnaryWorkload.cpp:31
armnn::BaseWorkload
Definition:
Workload.hpp:28
src
backends
reference
workloads
RefElementwiseUnaryWorkload.hpp
Generated on Fri Mar 13 2020 16:06:58 for ArmNN by
1.8.13