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

◆ nrf_edgeai_obsv_init()

int nrf_edgeai_obsv_init ( nrf_edgeai_obsv_ctx_t * ctx,
const nrf_edgeai_obsv_model_info_t * model )

#include <include/nrf_edgeai_obsv/nrf_edgeai_obsv.h>

Initialize an observability context.

Parameters
ctxContext to initialize.
modelModel metadata to embed in every encoded snapshot.
Returns
0 on success, -EINVAL if any argument is NULL, if model->num_classes is 0, or if it exceeds CONFIG_NRF_EDGEAI_OBSV_MAX_CLASSES.