CMSIS-NN
Version 1.0.0
CMSIS NN Software Library
|
Functions | |
q7_t * | arm_nn_mat_mult_kernel_q7_q15 (const q7_t *pA, const q15_t *pInBuffer, const uint16_t ch_im_out, const uint16_t numCol_A, const uint16_t bias_shift, const uint16_t out_shift, const q7_t *bias, q7_t *pOut) |
Matrix-multiplication function for convolution. More... | |
q7_t* arm_nn_mat_mult_kernel_q7_q15 | ( | const q7_t * | pA, |
const q15_t * | pInBuffer, | ||
const uint16_t | ch_im_out, | ||
const uint16_t | numCol_A, | ||
const uint16_t | bias_shift, | ||
const uint16_t | out_shift, | ||
const q7_t * | bias, | ||
q7_t * | pOut | ||
) |
Matrix-Multiplication Kernels for Convolution.
[in] | pA | pointer to operand A |
[in] | pInBuffer | pointer to operand B, always conssists of 2 vectors |
[in] | ch_im_out | numRow of A |
[in] | numCol_A | numCol of A |
[in] | bias_shift | amount of left-shift for bias |
[in] | out_shift | amount of right-shift for output |
[in] | bias | the bias |
[in,out] | pOut | pointer to output |
This function does the matrix multiplication with weight matrix and 2 columns from im2col.
References NN_ROUND.
Referenced by arm_convolve_HWC_q7_basic(), and arm_convolve_HWC_q7_RGB().