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] | model_wrapper | Allocated nrf_axon_nn_model_async_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 model_wrapper. |
- Return values
-
| 0 | on success or a negative error code. |