![]() |
Edge AI Add-on API 2.2.0
|
| void nrf_edgeai_output_decode_classification_f32 | ( | nrf_edgeai_model_output_t * | p_model_output, |
| nrf_edgeai_decoded_output_t * | p_decoded_output ) |
Decode model outputs for classification tasks.
These functions process the raw model outputs for classification tasks, converting them into predicted class indices and class probabilities. The decoding is performed according to the output data type (f32, q8, or q16).
| [in] | p_model_output | Pointer to model output structure nrf_edgeai_model_output_t |
| [out] | p_decoded_output | Pointer to decoded output structure nrf_edgeai_decoded_output_t |