Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
nrf_dsp_lrp.h File Reference

Go to the source code of this file.

Data Structures

struct  nrf_dsp_linear_reg_params_f32_s
 
struct  nrf_dsp_linear_reg_params_i16_s
 
struct  nrf_dsp_linear_reg_params_i8_s
 

Typedefs

typedef struct nrf_dsp_linear_reg_params_f32_s nrf_dsp_linear_reg_params_f32_t
 
typedef struct nrf_dsp_linear_reg_params_i16_s nrf_dsp_linear_reg_params_i16_t
 
typedef struct nrf_dsp_linear_reg_params_i8_s nrf_dsp_linear_reg_params_i8_t
 

Functions

void nrf_dsp_lrp_f32 (const flt32_t *p_input, uint16_t num, nrf_dsp_linear_reg_params_f32_t *p_params, nrf_dsp_stat_ctx_f32_t *p_ctx)
 Calculate Linear Regression Parameters (Slope, Intercept) of a floating-point vector.
 
void nrf_dsp_lrp_i16 (const int16_t *p_input, uint16_t num, nrf_dsp_linear_reg_params_i16_t *p_params, nrf_dsp_stat_ctx_i16_t *p_ctx)
 Calculate Linear Regression Parameters (Slope, Intercept) of a INT16 fixed-point vector.
 
void nrf_dsp_lrp_i8 (const int8_t *p_input, uint16_t num, nrf_dsp_linear_reg_params_i8_t *p_params, nrf_dsp_stat_ctx_i8_t *p_ctx)