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 --- ...structarmnn_utils_1_1_selective_quantizer.xhtml | 231 +++++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 20.02/structarmnn_utils_1_1_selective_quantizer.xhtml (limited to '20.02/structarmnn_utils_1_1_selective_quantizer.xhtml') diff --git a/20.02/structarmnn_utils_1_1_selective_quantizer.xhtml b/20.02/structarmnn_utils_1_1_selective_quantizer.xhtml new file mode 100644 index 0000000000..db08c19cf3 --- /dev/null +++ b/20.02/structarmnn_utils_1_1_selective_quantizer.xhtml @@ -0,0 +1,231 @@ + + + + + + + + + + + + + +ArmNN: SelectiveQuantizer< T, DoQuantize > Struct Template Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
SelectiveQuantizer< T, DoQuantize > Struct Template Reference
+
+
+ +

#include <QuantizeHelper.hpp>

+ + + + + + +

+Static Public Member Functions

static T Quantize (float value, float scale, int32_t offset)
 
static float Dequantize (T value, float scale, int32_t offset)
 
+

Detailed Description

+

template<typename T, bool DoQuantize = true>
+struct armnnUtils::SelectiveQuantizer< T, DoQuantize >

+ + +

Definition at line 24 of file QuantizeHelper.hpp.

+

Member Function Documentation

+ +

◆ Dequantize()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static float Dequantize (value,
float scale,
int32_t offset 
)
+
+inlinestatic
+
+ +

Definition at line 31 of file QuantizeHelper.hpp.

+ +

References armnn::Dequantize().

+ +

Referenced by armnnUtils::SelectiveDequantize().

+
32  {
33  return armnn::Dequantize(value, scale, offset);
34  }
float Dequantize(QuantizedType value, float scale, int32_t offset)
Dequantize an 8-bit data type into a floating point data type.
Definition: TypesUtils.cpp:47
+
+
+
+ +

◆ Quantize()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static T Quantize (float value,
float scale,
int32_t offset 
)
+
+inlinestatic
+
+ +

Definition at line 26 of file QuantizeHelper.hpp.

+ +

Referenced by armnnUtils::SelectiveQuantize().

+
27  {
28  return armnn::Quantize<T>(value, scale, offset);
29  }
+
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + -- cgit v1.2.1