From f4019872c1134c6fcc1d6993e5746f55c1e79208 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Tue, 8 Mar 2022 20:01:38 +0000 Subject: IVGCVSW-6819 Fix the directory structure and broken link to latest docu Signed-off-by: Nikhil Raj Change-Id: I05b559d15faf92c76ff536719693b361316be4f3 --- ...structarmnn_utils_1_1_selective_quantizer.xhtml | 231 +++++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 22.02/structarmnn_utils_1_1_selective_quantizer.xhtml (limited to '22.02/structarmnn_utils_1_1_selective_quantizer.xhtml') diff --git a/22.02/structarmnn_utils_1_1_selective_quantizer.xhtml b/22.02/structarmnn_utils_1_1_selective_quantizer.xhtml new file mode 100644 index 0000000000..602a06e6af --- /dev/null +++ b/22.02/structarmnn_utils_1_1_selective_quantizer.xhtml @@ -0,0 +1,231 @@ + + + + + + + + + + + + + +ArmNN: SelectiveQuantizer< T, DoQuantize > Struct Template Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.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