Function arm_nn_mat_mul_core_4x_s8

Function Documentation

int8_t *arm_nn_mat_mul_core_4x_s8(const int32_t row_elements, const int32_t offset, const int8_t *row_base, const int8_t *col_base, const int32_t out_ch, const cmsis_nn_conv_params *conv_params, const cmsis_nn_per_channel_quant_params *quant_params, const int32_t *bias, int8_t *output)

Matrix-multiplication with requantization & activation function for four rows and one column.

Compliant to TFLM int8 specification. MVE implementation only

Parameters:
  • row_elements[in] number of row elements

  • offset[in] offset between rows. Can be the same as row_elements. For e.g, in a 1x1 conv scenario with stride as 1.

  • row_base[in] pointer to row operand

  • col_base[in] pointer to col operand

  • out_ch[in] Number of output channels

  • conv_params[in] Pointer to convolution parameters like offsets and activation values

  • quant_params[in] Pointer to per-channel quantization parameters

  • bias[in] Pointer to per-channel bias

  • output[out] Pointer to output where int8 results are stored.

Returns:

The function returns the updated output pointer or NULL if implementation is not available.