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

◆ nrf_edgeai_obsv_reset()

int nrf_edgeai_obsv_reset ( nrf_edgeai_obsv_ctx_t * ctx)

#include <include/nrf_edgeai_obsv/nrf_edgeai_obsv.h>

Reset inference counters and all registered metrics.

Calls each metric's clear callback to zero counters while preserving any configuration set at registration time (e.g. custom bin edges). Registered metrics remain attached; model metadata is preserved.

Parameters
ctxInitialized context.
Returns
0 on success, -EINVAL if ctx is NULL.