![]() |
Edge AI Add-on API 2.2.0
|
| nrf_edgeai_err_t nrf_edgeai_feed_inputs | ( | nrf_edgeai_t * | p_edgeai, |
| void * | p_input_values, | ||
| uint16_t | num_values ) |
#include <include/nrf_edgeai/rt/nrf_edgeai_runtime.h>
Feed raw input data to prepare it for signal processing & model inference.
If user feed more than nrf_edgeai_input_window_size() input samples, the runtime will keep the first nrf_edgeai_input_window_size() samples, remainded samples will be ignored and return NRF_EDGEAI_ERR_SUCCESS.
| [in,out] | p_edgeai | Pointer to Edge AI Lab user context nrf_edgeai_t |
| [in] | p_input_values | Array of the input data samples, the type of input data is dependent of neural network context nrf_edgeai_t, use nrf_edgeai_input_type() |
| [in] | num_values | Number of the input samples in array, should be a multiple of nrf_edgeai_uniq_inputs_num() |