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

◆ nrf_nn_axon_init_persistent_vars()

int8_t nrf_nn_axon_init_persistent_vars ( const nrf_nn_axon_model_t * p_nn)

#include <include/nrf_edgeai/nn/axon/nrf_nn_axon.h>

Initialize all the persistent var buffers in a streaming-style model (with VarHandle/ReadVariable/AssignVariable). Should be called at the start of each streaming session. Harmless to call for non-streaming style models.

Note
Called internally by nrf_nn_axon_init, but can be called separately if persistent vars need to be re-initialized without re-initializing the whole model (e.g. between streaming sessions).
Parameters
[in]p_nnPointer to Axon NN model.
Returns
Operational status code nrf_axon_result_e