ArmNN
 24.02
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"
10 
11 namespace armnn
12 {
13 
14 class RefConvertFp32ToFp16Workload : public Float32ToFloat16Workload<ConvertFp32ToFp16QueueDescriptor>
15 {
16 public:
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