18#include <zephyr/sys/__assert.h>
35 __ASSERT_NO_MSG(model != NULL);
36 __ASSERT_NO_MSG(info != NULL);
41 if (model_id > UINT16_MAX) {
const nrf_edgeai_dsp_feature_extraction_t * nrf_edgeai_dsp_features_ctx(const nrf_edgeai_t *p_edgeai)
Get DSP feature extraction context.
uint16_t nrf_edgeai_model_outputs_num(const nrf_edgeai_t *p_edgeai)
Get number of model outputs (predicted targets)
static int obsv_model_info_from_model(nrf_edgeai_t *model, uint16_t num_classes, nrf_edgeai_obsv_model_info_t *info)
Fill observability model metadata from an nRF Edge AI model instance.
Definition model_utils.h:32
uint16_t num_classes
Number of model output classes.
Definition nrf_edgeai_obsv_core.h:35
uint32_t version
Model version identifier.
Definition nrf_edgeai_obsv_core.h:41
uint16_t num_features
Length of the input-feature vector, in elements. 0 if the model has no FEATURES-source metrics (the f...
Definition nrf_edgeai_obsv_core.h:39
uint16_t model_id
Application-defined model identifier.
Definition nrf_edgeai_obsv_core.h:33
Static model metadata included in observability snapshots.
Definition nrf_edgeai_obsv_core.h:31
nrf_edgeai_metadata_t metadata
Definition nrf_edgeai_types.h:180
Definition nrf_edgeai_types.h:178
const uint32_t combined
Definition nrf_edgeai_types.h:135