24.08
RefElementwiseUnaryWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2022 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
void
ExecuteAsync
(
ExecutionData
& executionData)
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
BaseIterator.hpp
armnn::RefElementwiseUnaryWorkload::RefElementwiseUnaryWorkload
RefElementwiseUnaryWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
RefElementwiseUnaryWorkload.cpp:29
armnn::ElementwiseUnaryQueueDescriptor
Definition:
WorkloadData.hpp:676
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
armnn::RefElementwiseUnaryWorkload
Definition:
RefElementwiseUnaryWorkload.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
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:6
RefBaseWorkload.hpp
armnn::RefElementwiseUnaryWorkload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition:
RefElementwiseUnaryWorkload.cpp:39
armnn::RefBaseWorkload
Definition:
RefBaseWorkload.hpp:13
armnn::experimental::ExecutionData
Definition:
ExecutionData.hpp:14
src
backends
reference
workloads
RefElementwiseUnaryWorkload.hpp
Generated on Wed Aug 28 2024 14:31:51 for Arm NN by
1.8.17