![]() |
Edge AI Add-on API 3.0.0
|
| #define NRF_EDGEAI_OBSV_ENCODE_METRIC_CONFIG_SIZE | ( | n_rows, | |
| n_cols ) |
#include <include/nrf_edgeai_obsv/nrf_edgeai_obsv_encode_sizes.h>
CBOR encoded size of the optional "c" config entry of one metric.
0 when n_rows or n_cols is 0 (the key is omitted), otherwise the key plus a matrix encoded like the counters. Add it to NRF_EDGEAI_OBSV_ENCODE_METRIC_SIZE() for a custom metric that reports configuration.
| n_rows | Rows of the config matrix the metric reports (config_rows). |
| n_cols | Columns of the config matrix (config_cols). |