From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- ...convert_fp16_to_fp32_workload_8cpp_source.xhtml | 129 +++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 20.02/_ref_convert_fp16_to_fp32_workload_8cpp_source.xhtml (limited to '20.02/_ref_convert_fp16_to_fp32_workload_8cpp_source.xhtml') diff --git a/20.02/_ref_convert_fp16_to_fp32_workload_8cpp_source.xhtml b/20.02/_ref_convert_fp16_to_fp32_workload_8cpp_source.xhtml new file mode 100644 index 0000000000..ab22d198bc --- /dev/null +++ b/20.02/_ref_convert_fp16_to_fp32_workload_8cpp_source.xhtml @@ -0,0 +1,129 @@ + + + + + + + + + + + + + +ArmNN: src/backends/reference/workloads/RefConvertFp16ToFp32Workload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
RefConvertFp16ToFp32Workload.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
7 #include "RefWorkloadUtils.hpp"
8 
10 
11 #include <Half.hpp>
12 
13 namespace armnn
14 {
15 
17 {
18  ARMNN_SCOPED_PROFILING_EVENT(Compute::CpuRef, "RefConvertFp16ToFp32Workload_Execute");
19 
20  const Half* const input = GetInputTensorDataHalf(0, m_Data);
21  float* const output = GetOutputTensorDataFloat(0, m_Data);
22 
23  unsigned int numElements = GetTensorInfo(m_Data.m_Inputs[0]).GetNumElements();
25 }
26 
27 } //namespace armnn
+
CPU Execution: Reference C++ kernels.
+ + +
const QueueDescriptor m_Data
Definition: Workload.hpp:46
+
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
+
Copyright (c) 2020 ARM Limited.
+
const Half * GetInputTensorDataHalf(unsigned int idx, const PayloadType &data)
+
#define ARMNN_SCOPED_PROFILING_EVENT(backendId, name)
Definition: Profiling.hpp:169
+ +
static void ConvertFloat16To32(const void *srcFloat16Buffer, size_t numElements, float *dstFloat32Buffer)
+ +
std::vector< ITensorHandle * > m_Inputs
+
float * GetOutputTensorDataFloat(unsigned int idx, const PayloadType &data)
+
half_float::half Half
Definition: Half.hpp:16
+
unsigned int GetNumElements() const
Definition: Tensor.hpp:93
+
+
+ + + + -- cgit v1.2.1