Function arm_nn_vec_mat_mult_t_per_ch_s8¶
Defined in File arm_nnsupportfunctions.h
Function Documentation¶
-
arm_cmsis_nn_status arm_nn_vec_mat_mult_t_per_ch_s8(const int8_t *lhs, const int8_t *rhs, const int32_t *kernel_sum, const int32_t *bias, int8_t *dst, const int32_t lhs_offset, const int32_t dst_offset, const int32_t *dst_multiplier, const int32_t *dst_shift, const int32_t rhs_cols, const int32_t rhs_rows, const int32_t activation_min, const int32_t activation_max, const int32_t address_offset, const int32_t rhs_offset)¶
s8 Vector by Matrix (transposed) multiplication using per channel quantization for output
- Parameters:
lhs – [in] Input left-hand side vector
rhs – [in] Input right-hand side matrix (transposed)
kernel_sum – [in] Kernel sums of the kernels (rhs). See arm_vector_sum_s8 for more info.
bias – [in] Input bias
dst – [out] Output vector
lhs_offset – [in] Offset to be added to the input values of the left-hand side vector. Range: -127 to 128
dst_offset – [in] Offset to be added to the output values. Range: -127 to 128
dst_multiplier – [in] Output multipliers
dst_shift – [in] Output shifts
rhs_cols – [in] Number of columns in the right-hand side input matrix
rhs_rows – [in] Number of rows in the right-hand side input matrix
activation_min – [in] Minimum value to clamp the output to. Range: int8
activation_max – [in] Maximum value to clamp the output to. Range: int8
address_offset – [in] Memory position offset for dst. First output is stored at ‘dst’, the second at ‘dst + address_offset’ and so on. Default value is typically 1.
rhs_offset – [in] Offset to be added to the input values of the right-hand side vector. Range: -127 to 128
- Returns:
The function returns
ARM_CMSIS_NN_SUCCESS