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

◆ NRF_EDGEAI_DECLARE_PROCESS_FEATURES_INTERFACE

#define NRF_EDGEAI_DECLARE_PROCESS_FEATURES_INTERFACE ( interface_name)
Value:
nrf_edgeai_err_t nrf_edgeai_process_features_##interface_name( \
nrf_edgeai_input_t* p_input, \
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:414
Input features processing context for neural network.
Definition nrf_edgeai_input_types.h:76

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

All declared functions have the following prototype:

nrf_edgeai_err_t nrf_edgeai_process_features_<mode>_<input_type>_<output_type>(nrf_edgeai_t* p_edgeai);
Definition nrf_edgeai_types.h:141

where:

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