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

◆ NRF_EDGEAI_DECLARE_SCALE_FEATURES_INTERFACE

#define NRF_EDGEAI_DECLARE_SCALE_FEATURES_INTERFACE ( interface_name)
Value:
nrf_edgeai_err_t nrf_edgeai_scale_features_##interface_name( \
enum nrf_edgeai_err_e nrf_edgeai_err_t
Generic NRF EDGEAI operation status code.
DSP pipeline context structure.
Definition nrf_edgeai_dsp_pipeline_types.h:394
Input features processing context for neural network.
Definition nrf_edgeai_input_types.h:69

Macro to declare feature scaling interface functions for various data types and scaling modes.

All declared functions have the following prototype:

nrf_edgeai_err_t nrf_edgeai_scale_features_<mode>_<input_type>_<output_type>(nrf_edgeai_input_t*
p_input, nrf_edgeai_dsp_pipeline_t* p_dsp);

where:

  • <mode> : input_vector, input_window, or dsp
  • <input_type> : i8, i16, or f32 (input data type)
  • <output_type> : q8, q16, or f32 (output/target data type)