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 --- 20.02/_half_8hpp_source.xhtml | 116 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 20.02/_half_8hpp_source.xhtml (limited to '20.02/_half_8hpp_source.xhtml') diff --git a/20.02/_half_8hpp_source.xhtml b/20.02/_half_8hpp_source.xhtml new file mode 100644 index 0000000000..b7064bd240 --- /dev/null +++ b/20.02/_half_8hpp_source.xhtml @@ -0,0 +1,116 @@ + + + + + + + + + + + + + +ArmNN: src/armnnUtils/Half.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Half.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 // Set style to round to nearest
9 #define HALF_ROUND_STYLE 1
10 
11 #include <type_traits>
12 #include <half/half.hpp>
13 
14 namespace armnn
15 {
16  using Half = half_float::half; //import half float implementation
17 } //namespace armnn
18 
19 
20 namespace std
21 {
22 
23 template<>
24 struct is_floating_point<armnn::Half>
25  : integral_constant< bool, true >
26 {};
27 
28 template<>
29 struct is_floating_point<const armnn::Half>
30  : integral_constant< bool, true >
31 {};
32 
33 template<>
34 struct is_floating_point<volatile armnn::Half>
35  : integral_constant< bool, true >
36 {};
37 
38 } //namespace std
Copyright (c) 2020 ARM Limited.
+ +
half_float::half Half
Definition: Half.hpp:16
+
+
+ + + + -- cgit v1.2.1