![]() |
Edge AI Add-on API 2.2.0
|
| int nrf_axon_verify_vectors | ( | const char * | msg, |
| const int32_t * | output, | ||
| const int32_t * | expected_output, | ||
| uint32_t | count, | ||
| uint32_t | margin ) |
Group of funcitons for comparing 2 vectors.
Prints a message in the format: verify <msg>... Logs an error whenever abs(output[ndx] - expected_output[ndx]) > margin.
| [in] | msg | Initial message to display before starting the comparison. |
| [in] | output | Test values. |
| [in] | expected_output | Values output should match. |
| [in] | count | Number of elements to compare. |
| [in] | margin | Maximum tolerated difference betwee output[ndx] and expected_output[ndx]. 0 means exact match. |
| Number | of mismatches. |