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

◆ nrf_dsp_scale_zscore_float

#define nrf_dsp_scale_zscore_float ( var,
mean,
stddev )

#include <include/nrf_edgeai/dsp/support/nrf_dsp_scale_zscore.h>

Value:
((flt32_t)(var - mean) / stddev)
float flt32_t
32-bit floating-point type definition.
Definition nrf_edgeai_ctypes.h:21

Macro for Z-score scaling of floating-point variable.

Parameters
[in,out]varVariable for scaling
[in]meanMean scaling factor
[in]stddevStandard deviation scaling factor