From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- ...structarmnn_utils_1_1_selective_quantizer.xhtml | 231 +++++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 21.02/structarmnn_utils_1_1_selective_quantizer.xhtml (limited to '21.02/structarmnn_utils_1_1_selective_quantizer.xhtml') diff --git a/21.02/structarmnn_utils_1_1_selective_quantizer.xhtml b/21.02/structarmnn_utils_1_1_selective_quantizer.xhtml new file mode 100644 index 0000000000..29c401fd35 --- /dev/null +++ b/21.02/structarmnn_utils_1_1_selective_quantizer.xhtml @@ -0,0 +1,231 @@ + + + + + + + + + + + + + +ArmNN: SelectiveQuantizer< T, DoQuantize > Struct Template Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.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 23 of file QuantizeHelper.hpp.

+

Member Function Documentation

+ +

◆ Dequantize()

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

Definition at line 30 of file QuantizeHelper.hpp.

+ +

References armnn::Dequantize().

+ +

Referenced by armnnUtils::SelectiveDequantize().

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

◆ Quantize()

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

Definition at line 25 of file QuantizeHelper.hpp.

+ +

Referenced by armnnUtils::SelectiveQuantize().

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