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

◆ nrf_nn_axon_scale_inputs()

void nrf_nn_axon_scale_inputs ( const nrf_nn_axon_model_t * p_nn,
const flt32_t * p_input_features,
size32_t input_features_num,
int8_t * p_scaled_features )

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

Scale floating point input features to quantized int8 input tensor format.

Parameters
[in]p_nnPointer to Axon NN model.
[in]p_input_featuresPointer to floating point input features.
[in]input_features_numNumber of input features.
[out]p_scaled_featuresPointer to buffer where scaled int8 features will be stored.