![]() |
Edge AI Add-on API 2.2.0
|
| void nrf_nn_neuton_run_inference_raw_q16 | ( | uint16_t * | p_neurons, |
| const uint32_t | neurons_num, | ||
| const uint16_t * | p_neuron_links, | ||
| const uint16_t * | p_neuron_internal_links_num, | ||
| const uint16_t * | p_neuron_external_links_num, | ||
| const uint8_t * | p_neuron_act_type_mask, | ||
| const int16_t * | p_weights, | ||
| const uint16_t * | p_act_weights, | ||
| const uint16_t * | p_neurons_inputs, | ||
| const uint16_t | neurons_inputs_num ) |
#include <include/nrf_edgeai/nn/neuton/nrf_nn_neuton.h>
Run inference with raw arguments for 16-bit quantized Neuton model, results of inferece are stored in p_neurons.
| [in,out] | p_neurons | Pointer to neurons buffer |
| [in] | neurons_num | Number of neurons in the model |
| [in] | p_neuron_links | Pointer to neuron links array |
| [in] | p_neuron_internal_links_num | Pointer to number of internal links for each neuron |
| [in] | p_neuron_external_links_num | Pointer to number of external links for each neuron |
| [in] | p_neuron_act_type_mask | Pointer to activation function type mask for neurons |
| [in] | p_weights | Pointer to weights array |
| [in] | p_act_weights | Pointer to activation function weights |
| [in] | p_neurons_inputs | Pointer to model input features array |
| [in] | neurons_inputs_num | Number of model input features |