Edge AI Add-on API 3.0.0
Loading...
Searching...
No Matches
nrf_edgeai_runtime.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
15#ifndef _NRF_EDGEAI_RUNTIME_H_
16#define _NRF_EDGEAI_RUNTIME_H_
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24/***************************************************************************************************
25 * nRF Edge AI runtime public API
26 **************************************************************************************************/
27
38
70nrf_edgeai_feed_inputs(nrf_edgeai_t *p_edgeai, void *p_input_values, uint16_t num_values);
71
84
108
109/***************************************************************************************************
110 * Utility variables and functions
111 **************************************************************************************************/
112
120
128uint16_t nrf_edgeai_uniq_inputs_num(const nrf_edgeai_t *p_edgeai);
129
138
146
153
160
167
173const char *nrf_edgeai_solution_id_str(const nrf_edgeai_t *p_edgeai);
174
181
187
197
207
208#ifdef __cplusplus
209}
210#endif
211
212#endif /* _NRF_EDGEAI_RUNTIME_H_ */
213
nrf_edgeai_input_type_t nrf_edgeai_input_type(const nrf_edgeai_t *p_edgeai)
Get neural network input data type nrf_edgeai_input_type_t.
nrf_edgeai_err_t nrf_edgeai_run_inference(nrf_edgeai_t *p_edgeai)
Running live input features into a machine learning algorithm (or “ML/NN model”) to inference an outp...
nrf_edgeai_err_t nrf_edgeai_feed_inputs(nrf_edgeai_t *p_edgeai, void *p_input_values, uint16_t num_values)
Feed raw input data to prepare it for signal processing & model inference.
uint16_t nrf_edgeai_uniq_inputs_num(const nrf_edgeai_t *p_edgeai)
Get number of unique input features on which the model was trained, e.g for features {x,...
const char * nrf_edgeai_solution_id_str(const nrf_edgeai_t *p_edgeai)
Get solution ID in string format.
uint16_t nrf_edgeai_input_window_size(const nrf_edgeai_t *p_edgeai)
Get input features window size in feature samples(vectors), e.g for input window {x0,...
bool nrf_edgeai_is_runtime_compatible(const nrf_edgeai_t *p_edgeai)
Check if the Edge AI runtime library version is compatible with the solution runtime version.
nrf_edgeai_rt_version_t nrf_edgeai_solution_runtime_version(const nrf_edgeai_t *p_edgeai)
Get solution runtime version.
nrf_edgeai_err_t nrf_edgeai_init(nrf_edgeai_t *p_edgeai)
Set up the internal components of the Edge AI runtime.
uint8_t nrf_edgeai_input_subwindows_num(const nrf_edgeai_t *p_edgeai)
Get number of subwindows in the input window.
nrf_edgeai_model_task_t nrf_edgeai_model_task(const nrf_edgeai_t *p_edgeai)
Get model task nrf_edgeai_model_task_t.
nrf_edgeai_err_t nrf_edgeai_process_features(nrf_edgeai_t *p_edgeai)
Process input features for model inference, DSP processing, filtering, etc.
const nrf_edgeai_dsp_feature_extraction_t * nrf_edgeai_dsp_features_ctx(const nrf_edgeai_t *p_edgeai)
Get DSP feature extraction context.
uint16_t nrf_edgeai_model_outputs_num(const nrf_edgeai_t *p_edgeai)
Get number of model outputs (predicted targets)
nrf_edgeai_model_type_t nrf_edgeai_model_type(const nrf_edgeai_t *p_edgeai)
Get model type nrf_edgeai_model_type_t.
nrf_edgeai_rt_version_t nrf_edgeai_runtime_version(void)
Get Edge AI runtime library version.
enum nrf_edgeai_err_e nrf_edgeai_err_t
Generic NRF EDGEAI operation status code.
enum nrf_edgeai_input_type_e nrf_edgeai_input_type_t
Supported input data types for neural network.
enum nrf_edgeai_model_task_e nrf_edgeai_model_task_t
enum nrf_edgeai_model_type_e nrf_edgeai_model_type_t
nRF Edge AI model types
DSP feature extraction context structure.
Definition nrf_edgeai_dsp_pipeline_types.h:365
Definition nrf_edgeai_types.h:178
EdgeAI runtime version structure.
Definition nrf_edgeai_types.h:129