![]() |
Edge AI Add-on API 3.0.0
|
| #define NRF_EDGEAI_OBSV_CPD_STORAGE_BYTES | ( | n_classes | ) |
#include <include/nrf_edgeai_obsv/nrf_edgeai_obsv_metrics.h>
Minimum byte size of a class predictions distribution storage buffer for n_classes classes.
The matrix is 2*n_classes x bin_num (rows [0, n_classes) probability distribution, rows [n_classes, 2*n_classes) streak distribution). Use with nrf_edgeai_obsv_metric_cpd_create to size a caller-supplied buffer. The buffer must be aligned to at least sizeof(uint32_t) bytes.