SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma::math Namespace Reference

Functions

constexpr float fastLn (float x)
 
constexpr float fastExp (float x)
 
constexpr float sigmoid (float x)
 
constexpr float fastSigmoid (float x)
 
constexpr float inverseSigmoid (float x)
 
constexpr int32_t quantizeValue (float value, float scale, int32_t zero_point)
 
constexpr int32_t quantizeValueFloor (float value, float scale, int32_t zero_point)
 
constexpr float dequantizeValue (int32_t value, float scale, int32_t zero_point)
 
void softmax (float *data, size_t size)
 
void fastSoftmax (float *data, size_t size)
 

Function Documentation

◆ dequantizeValue()

constexpr float ma::math::dequantizeValue ( int32_t  value,
float  scale,
int32_t  zero_point 
)
inlineconstexpr
Here is the caller graph for this function:

◆ fastExp()

constexpr float ma::math::fastExp ( float  x)
inlineconstexpr
Here is the caller graph for this function:

◆ fastLn()

constexpr float ma::math::fastLn ( float  x)
inlineconstexpr

◆ fastSigmoid()

constexpr float ma::math::fastSigmoid ( float  x)
inlineconstexpr
Here is the call graph for this function:

◆ fastSoftmax()

void ma::math::fastSoftmax ( float *  data,
size_t  size 
)
Here is the call graph for this function:

◆ inverseSigmoid()

constexpr float ma::math::inverseSigmoid ( float  x)
inlineconstexpr
Here is the caller graph for this function:

◆ quantizeValue()

constexpr int32_t ma::math::quantizeValue ( float  value,
float  scale,
int32_t  zero_point 
)
inlineconstexpr

◆ quantizeValueFloor()

constexpr int32_t ma::math::quantizeValueFloor ( float  value,
float  scale,
int32_t  zero_point 
)
inlineconstexpr
Here is the caller graph for this function:

◆ sigmoid()

constexpr float ma::math::sigmoid ( float  x)
inlineconstexpr
Here is the caller graph for this function:

◆ softmax()

void ma::math::softmax ( float *  data,
size_t  size 
)
Here is the caller graph for this function: