Quantizer that helps to quantize and dequantize between float and int8.
More...
#include <TfLiteAudioStream.h>
|
static float | clip (float value, float range) |
|
static float | dequantize (int8_t value, float scale, float zero_point) |
|
static float | dequantizeToNewRange (int8_t value, float scale, float zero_point, float new_range) |
|
static int8_t | quantize (float value, float scale, float zero_point) |
|
Quantizer that helps to quantize and dequantize between float and int8.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
The documentation for this class was generated from the following file: