#include <QuantizeHelper.hpp>
|
| static T | Quantize (float value, float scale, int32_t offset) |
| |
| static float | Dequantize (T value, float scale, int32_t offset) |
| |
template<typename T, bool DoQuantize = true>
struct armnnUtils::SelectiveQuantizer< T, DoQuantize >
Definition at line 23 of file QuantizeHelper.hpp.
◆ Dequantize()
| static float Dequantize |
( |
T |
value, |
|
|
float |
scale, |
|
|
int32_t |
offset |
|
) |
| |
|
inlinestatic |
Definition at line 30 of file QuantizeHelper.hpp.
float Dequantize(QuantizedType value, float scale, int32_t offset)
Dequantize an 8-bit data type into a floating point data type.
References armnn::Dequantize().
◆ Quantize()
| static T Quantize |
( |
float |
value, |
|
|
float |
scale, |
|
|
int32_t |
offset |
|
) |
| |
|
inlinestatic |
Definition at line 25 of file QuantizeHelper.hpp.
27 return armnn::Quantize<T>(value, scale, offset);
The documentation for this struct was generated from the following file: