Initialize a model for asynchronous inference. Calls nrf_axon_nn_model_validate then binds the model wrapper structure to its compiled model and performs some data initialization. Model is ready to be inferred upon completion. Called once per model at start-up.
- Parameters
-
| [out] | the_model | Allocated nrf_axon_nn_model_inference_wrapper_s instance in static (non-stack) memory that will be passed to inference functions. |
| [in] | compiled_model | Pointer to compiled model that will be bound to the_model. |
- Return values
-
| 0 | on success or a negative error code. |