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

◆ nrf_axon_nn_model_validate()

nrf_axon_result_e nrf_axon_nn_model_validate ( const nrf_axon_nn_compiled_model_s * compiled_model)

Sanity check of a compiled model.

Verifies basic validity of the compiled model. Verifies that interlayer and psum buffers are large enough to accomodate the model. Should be called at start-up for each model in the application.

Note
If asynchronous inference is performed this function is called as part of nrf_axon_nn_model_async_init().
Parameters
[in]compiled_modelThe compiled model to check.
Return values
0on success or a negative error code.