Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ nrf_axon_nn_run_test_vectors()

int nrf_axon_nn_run_test_vectors ( const nrf_axon_nn_compiled_model_s ** compiled_full_models,
const char * test_group_name,
uint16_t models_count,
const nrf_axon_nn_compiled_model_layer_s ** compiled_1_layer_models[],
uint16_t * model_layers_count,
const nrf_axon_nn_model_test_info_s * test_vectors )

Run the inference test vectors for the passed models.

This function supports running inference test vectors as well as optional layer test vectors on a list of models.

Parameters
[in]compiled_full_modelsList of compiled models to run test inference for.
[in]test_group_nameName of the collective set of tests. Printed at the start and end of the test.
[in]models_countNumber of elements in *compiled_full_models.
[in]compiled_1_layer_modelsOptional. If not null, the list of layer models for each corresponding model in compiled_full_models.
[in]model_layers_countList of layer counts for each entry in compiled_1_layer_models.
[in]test_vectorsList of test vector structs for each model in compiled_full_models.