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

◆ nrf_edgeai_run_inference()

nrf_edgeai_err_t nrf_edgeai_run_inference ( nrf_edgeai_t * p_edgeai)

#include <include/nrf_edgeai/rt/nrf_edgeai_runtime.h>

Running live input features into a machine learning algorithm (or “ML/NN model”) to inference an output.

If the operation is succeeded (NRF_EDGEAI_ERR_SUCCESS), the inference result you can get from p_edgeai->decoded_output.regression or p_edgeai->decoded_output.classif depending on your model task

Parameters
[in,out]p_edgeaiPointer to Edge AI Lab user context nrf_edgeai_t
Returns
Operation status code nrf_edgeai_err_t