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

◆ nrf_axon_nn_model_1st_external_input_ndx()

int8_t nrf_axon_nn_model_1st_external_input_ndx ( const nrf_axon_nn_compiled_model_s * the_model)

returns the nrf_axon_nn_compiled_model_input_s instance of the model's input that is external.

The 1st layer in a model can have multiple inputs; one that is internal (ie, VarHandle for streaming models), and 1 that is external. This will find which input needs to be populated explicitly before inference begins.

Parameters
[in]the_modelModel to find the external input for.
Return values
indexinto the_model->inputs[] for the model's external input.