![]() |
Edge AI Add-on API 3.0.0
|
| #define NRF_EDGEAI_OBSV_MCD_STORAGE_BYTES | ( | n_classes | ) |
#include <include/nrf_edgeai_obsv/nrf_edgeai_obsv_metrics.h>
Minimum byte size of a model certainty descriptor storage buffer.
The descriptor is a fixed NRF_EDGEAI_OBSV_MCD_NUM_ROWS x bin_num matrix (entropy histogram, top-2 margin histogram, stability counters), so storage does not depend on n_classes; the parameter is accepted only for symmetry with the other metric storage macros. Use with nrf_edgeai_obsv_metric_mcd_create. The buffer must be aligned to at least sizeof(uint32_t) bytes.