Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

Macros

#define nrf_dsp_scale_zscore_int_q(var, qfactor, mean, stddev)
 Macro for Z-score scaling of integer variable with quantization.
 
#define nrf_dsp_scale_zscore_float(var, mean, stddev)
 Macro for Z-score scaling of floating-point variable.
 
#define nrf_dsp_scale_zscore_float_q(var, qfactor, mean, stddev)
 Macro for Z-score scaling of floating-point variable with quantization.
 

Functions

void nrf_dsp_scale_zscore_f32 (const flt32_t *p_input, uint16_t num, const flt32_t mean, const flt32_t stddev, flt32_t *p_output)
 Z-score scaling of the floating-point vector ( y = (x - mean) / stddev )
 
void nrf_dsp_scale_zscore_i8 (const int8_t *p_input, uint16_t num, const int8_t mean, const int8_t stddev, int8_t *p_output)
 Z-score scaling of the INT8 vector ( y = (x - mean) / stddev )
 
void nrf_dsp_scale_zscore_i16 (const int16_t *p_input, uint16_t num, const int16_t mean, const int16_t stddev, int16_t *p_output)
 Z-score scaling of the INT16 vector ( y = (x - mean) / stddev )
 

Detailed Description