SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma_math_scalars.h File Reference
#include <cmath>
#include <cstdint>
#include <limits>
Include dependency graph for ma_math_scalars.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ma
 
 ma::math
 

Functions

constexpr float ma::math::fastLn (float x)
 
constexpr float ma::math::fastExp (float x)
 
constexpr float ma::math::sigmoid (float x)
 
constexpr float ma::math::fastSigmoid (float x)
 
constexpr float ma::math::inverseSigmoid (float x)
 
constexpr int32_t ma::math::quantizeValue (float value, float scale, int32_t zero_point)
 
constexpr int32_t ma::math::quantizeValueFloor (float value, float scale, int32_t zero_point)
 
constexpr float ma::math::dequantizeValue (int32_t value, float scale, int32_t zero_point)