24.08
RefConvertFp32ToFp16Workload.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 "
RefBaseWorkload.hpp
"
9
#include <
armnn/backends/WorkloadData.hpp
>
10
11
namespace
armnn
12
{
13
14
class
RefConvertFp32ToFp16Workload
:
public
Float32ToFloat16Workload
<ConvertFp32ToFp16QueueDescriptor>
15
{
16
public
:
17
using
Float32ToFloat16Workload<ConvertFp32ToFp16QueueDescriptor>::Float32ToFloat16Workload
;
18
void
Execute
()
const override
;
19
void
ExecuteAsync
(
ExecutionData
& executionData)
override
;
20
private
:
21
void
Execute
(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs)
const
;
22
};
23
24
}
//namespace armnn
WorkloadData.hpp
armnn::RefConvertFp32ToFp16Workload::Execute
void Execute() const override
Definition:
RefConvertFp32ToFp16Workload.cpp:17
armnn::RefConvertFp32ToFp16Workload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition:
RefConvertFp32ToFp16Workload.cpp:22
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
RefBaseWorkload.hpp
armnn::RefConvertFp32ToFp16Workload
Definition:
RefConvertFp32ToFp16Workload.hpp:14
armnn::MultiTypedWorkload
Definition:
Workload.hpp:160
armnn::experimental::ExecutionData
Definition:
ExecutionData.hpp:14
src
backends
reference
workloads
RefConvertFp32ToFp16Workload.hpp
Generated on Wed Aug 28 2024 14:31:51 for Arm NN by
1.8.17