![]() |
Edge AI Add-on API 2.2.0
|
| int nrf_edgeai_obsv_core_update_features | ( | nrf_edgeai_obsv_core_t * | p_ctx, |
| const float * | p_feats, | ||
| uint16_t | n ) |
#include <include/nrf_edgeai_obsv/nrf_edgeai_obsv_core.h>
Feed one extracted-feature vector to all FEATURES-source metrics.
Routes p_feats only to metrics registered with NRF_EDGEAI_OBSV_SOURCE_FEATURES, and advances the feature counter (nrf_edgeai_obsv_core_t::num_features). It does NOT advance the inference counter (nrf_edgeai_obsv_core_t::num_inferences): the two streams are counted independently — an inference is counted only when its output is fed via nrf_edgeai_obsv_core_update_probs.
| p_ctx | Initialized core. |
| p_feats | Array of n feature values. |
| n | Number of entries in p_feats. |
p_ctx or p_feats is NULL.