20.11
NeonConvertFp32ToFp16Workload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2017 Arm Ltd. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include <
backendsCommon/Workload.hpp
>
9
#include <
backendsCommon/WorkloadData.hpp
>
10
#include <
neon/workloads/NeonWorkloadUtils.hpp
>
11
12
namespace
armnn
13
{
14
15
class
NeonConvertFp32ToFp16Workload
:
public
Float32ToFloat16Workload
<ConvertFp32ToFp16QueueDescriptor>
16
{
17
public
:
18
NeonConvertFp32ToFp16Workload
(
const
ConvertFp32ToFp16QueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
19
virtual
void
Execute
()
const override
;
20
21
private
:
22
using
TensorHandlePair = std::pair<const ITensorHandle*, ITensorHandle*>;
23
std::vector<TensorHandlePair> m_TensorHandlePairs;
24
};
25
26
}
//namespace armnn
WorkloadData.hpp
armnn::NeonConvertFp32ToFp16Workload
Definition:
NeonConvertFp32ToFp16Workload.hpp:15
armnn::NeonConvertFp32ToFp16Workload::Execute
virtual void Execute() const override
Definition:
NeonConvertFp32ToFp16Workload.cpp:26
armnn
Copyright (c) 2020 ARM Limited.
Definition:
00_introduction.dox:25
armnn::MultiTypedWorkload
Definition:
Workload.hpp:105
NeonWorkloadUtils.hpp
armnn::ConvertFp32ToFp16QueueDescriptor
Definition:
WorkloadData.hpp:454
Workload.hpp
armnn::NeonConvertFp32ToFp16Workload::NeonConvertFp32ToFp16Workload
NeonConvertFp32ToFp16Workload(const ConvertFp32ToFp16QueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
NeonConvertFp32ToFp16Workload.cpp:18
armnn::BoostLogSeverityMapping::info
armnn::WorkloadInfo
Contains information about inputs and outputs to a layer.
Definition:
WorkloadInfo.hpp:16
src
backends
neon
workloads
NeonConvertFp32ToFp16Workload.hpp
Generated on Wed Nov 25 2020 09:59:13 for ArmNN by
1.8.13