arduino-audio-tools
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
audio_tools::TfLiteQuantizer Class Reference

Quantizer that helps to quantize and dequantize between float and int8. More...

#include <TfLiteAudioStream.h>

Static Public Member Functions

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)
 

Detailed Description

Quantizer that helps to quantize and dequantize between float and int8.

Author
Phil Schatzmann

The documentation for this class was generated from the following file: