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

◆ nrf_edgeai_process_features_scale_vector_i8_q8()

nrf_edgeai_err_t nrf_edgeai_process_features_scale_vector_i8_q8 ( nrf_edgeai_input_t * p_input,
nrf_edgeai_dsp_pipeline_t * p_dsp )

Scale a vector of input features to the target data type.

These functions perform scaling of a single vector of input features from the original data type (int8, int16, or float32) to the target quantized or floating-point type (q8, q16, or f32). Scaling is performed using per-feature min/max values provided in the input context.

Parameters
[in,out]p_inputPointer to the input processing context nrf_edgeai_input_t
[in,out]p_dspPointer to the DSP pipeline context nrf_edgeai_dsp_pipeline_t
Returns
Status code indicating success or error.
Note
Example functions: nrf_edgeai_process_features_scale_vector_i8_q8, nrf_edgeai_process_features_scale_vector_f32_q16, etc.