CMSIS-NN
CMSIS NN Software Library
|
Functions | |
arm_cmsis_nn_status | arm_svdf_s8 (const cmsis_nn_context *input_ctx, const cmsis_nn_context *output_ctx, const cmsis_nn_svdf_params *svdf_params, const cmsis_nn_per_tensor_quant_params *input_quant_params, const cmsis_nn_per_tensor_quant_params *output_quant_params, const cmsis_nn_dims *input_dims, const int8_t *input_data, const cmsis_nn_dims *state_dims, int8_t *state_data, const cmsis_nn_dims *weights_feature_dims, const int8_t *weights_feature_data, const cmsis_nn_dims *weights_time_dims, const int8_t *weights_time_data, const cmsis_nn_dims *bias_dims, const int32_t *bias_data, const cmsis_nn_dims *output_dims, int8_t *output_data) |
s8 SVDF function with 8 bit state tensor and 8 bit time weights More... | |
arm_cmsis_nn_status | arm_svdf_state_s16_s8 (const cmsis_nn_context *input_ctx, const cmsis_nn_context *output_ctx, const cmsis_nn_svdf_params *svdf_params, const cmsis_nn_per_tensor_quant_params *input_quant_params, const cmsis_nn_per_tensor_quant_params *output_quant_params, const cmsis_nn_dims *input_dims, const int8_t *input_data, const cmsis_nn_dims *state_dims, int16_t *state_data, const cmsis_nn_dims *weights_feature_dims, const int8_t *weights_feature_data, const cmsis_nn_dims *weights_time_dims, const int16_t *weights_time_data, const cmsis_nn_dims *bias_dims, const int32_t *bias_data, const cmsis_nn_dims *output_dims, int8_t *output_data) |
s8 SVDF function with 16 bit state tensor and 16 bit time weights More... | |
arm_cmsis_nn_status arm_svdf_s8 | ( | const cmsis_nn_context * | input_ctx, |
const cmsis_nn_context * | output_ctx, | ||
const cmsis_nn_svdf_params * | svdf_params, | ||
const cmsis_nn_per_tensor_quant_params * | input_quant_params, | ||
const cmsis_nn_per_tensor_quant_params * | output_quant_params, | ||
const cmsis_nn_dims * | input_dims, | ||
const int8_t * | input_data, | ||
const cmsis_nn_dims * | state_dims, | ||
int8_t * | state_data, | ||
const cmsis_nn_dims * | weights_feature_dims, | ||
const int8_t * | weights_feature_data, | ||
const cmsis_nn_dims * | weights_time_dims, | ||
const int8_t * | weights_time_data, | ||
const cmsis_nn_dims * | bias_dims, | ||
const int32_t * | bias_data, | ||
const cmsis_nn_dims * | output_dims, | ||
int8_t * | output_data | ||
) |
[in] | input_ctx | Temporary scratch buffer The caller is expected to clear the buffer ,if applicable, for security reasons. |
[in] | output_ctx | Temporary output scratch buffer The caller is expected to clear the buffer ,if applicable, for security reasons. |
[in] | svdf_params | SVDF Parameters Range of svdf_params->input_offset : [-128, 127] Range of svdf_params->output_offset : [-128, 127] |
[in] | input_quant_params | Input quantization parameters |
[in] | output_quant_params | Output quantization parameters |
[in] | input_dims | Input tensor dimensions |
[in] | input_data | Pointer to input tensor |
[in] | state_dims | State tensor dimensions |
[in] | state_data | Pointer to state tensor |
[in] | weights_feature_dims | Weights (feature) tensor dimensions |
[in] | weights_feature_data | Pointer to the weights (feature) tensor |
[in] | weights_time_dims | Weights (time) tensor dimensions |
[in] | weights_time_data | Pointer to the weights (time) tensor |
[in] | bias_dims | Bias tensor dimensions |
[in] | bias_data | Pointer to bias tensor |
[in] | output_dims | Output tensor dimensions |
[out] | output_data | Pointer to the output tensor |
ARM_CMSIS_NN_SUCCESS
arm_cmsis_nn_status arm_svdf_state_s16_s8 | ( | const cmsis_nn_context * | input_ctx, |
const cmsis_nn_context * | output_ctx, | ||
const cmsis_nn_svdf_params * | svdf_params, | ||
const cmsis_nn_per_tensor_quant_params * | input_quant_params, | ||
const cmsis_nn_per_tensor_quant_params * | output_quant_params, | ||
const cmsis_nn_dims * | input_dims, | ||
const int8_t * | input_data, | ||
const cmsis_nn_dims * | state_dims, | ||
int16_t * | state_data, | ||
const cmsis_nn_dims * | weights_feature_dims, | ||
const int8_t * | weights_feature_data, | ||
const cmsis_nn_dims * | weights_time_dims, | ||
const int16_t * | weights_time_data, | ||
const cmsis_nn_dims * | bias_dims, | ||
const int32_t * | bias_data, | ||
const cmsis_nn_dims * | output_dims, | ||
int8_t * | output_data | ||
) |
[in] | input_ctx | Temporary scratch buffer The caller is expected to clear the buffer ,if applicable, for security reasons. |
[in] | output_ctx | Temporary output scratch buffer The caller is expected to clear the buffer ,if applicable, for security reasons. |
[in] | svdf_params | SVDF Parameters Range of svdf_params->input_offset : [-128, 127] Range of svdf_params->output_offset : [-128, 127] |
[in] | input_quant_params | Input quantization parameters |
[in] | output_quant_params | Output quantization parameters |
[in] | input_dims | Input tensor dimensions |
[in] | input_data | Pointer to input tensor |
[in] | state_dims | State tensor dimensions |
[in] | state_data | Pointer to state tensor |
[in] | weights_feature_dims | Weights (feature) tensor dimensions |
[in] | weights_feature_data | Pointer to the weights (feature) tensor |
[in] | weights_time_dims | Weights (time) tensor dimensions |
[in] | weights_time_data | Pointer to the weights (time) tensor |
[in] | bias_dims | Bias tensor dimensions |
[in] | bias_data | Pointer to bias tensor |
[in] | output_dims | Output tensor dimensions |
[out] | output_data | Pointer to the output tensor |
ARM_CMSIS_NN_SUCCESS