LIBML Version 4.1.9
LIBML NN Software Library
Loading...
Searching...
No Matches
Functions

Perform vector multiplication and data type conversion for Neural Network. More...

Functions

int32_t tpt_nn_mat_mul_nt_t_s8 (q7_t *aOutData, const q7_t *aInDataA, const q7_t *aInDataB, const q31_t *aBias, const int32_t *aOut_multipliers, const int32_t *aOut_shifts, const tpt_nn_mat_mul_nt *aFilter)
tpt_nn_status tpt_mat_mult_t_s16 (const q15_t *aInDataA, const q7_t *aInDataB, const q63_t *aBias, q15_t *aOutData, const int32_t Out_mult, const int32_t Out_shift, const int32_t InA_col, const int32_t InB_row, const int32_t activation_min, const int32_t activation_max)

Detailed Description

Perform vector multiplication and data type conversion for Neural Network.

Function Documentation

◆ tpt_mat_mult_t_s16()

tpt_nn_status tpt_mat_mult_t_s16 ( const q15_t * aInDataA,
const q7_t * aInDataB,
const q63_t * aBias,
q15_t * aOutData,
const int32_t Out_mult,
const int32_t Out_shift,
const int32_t InA_col,
const int32_t InB_row,
const int32_t activation_min,
const int32_t activation_max )

s16 matrix multiplication with the right-hand-side matrix transposed Refer to header file for details.

◆ tpt_nn_mat_mul_nt_t_s8()

int32_t tpt_nn_mat_mul_nt_t_s8 ( q7_t * aOutData,
const q7_t * aInDataA,
const q7_t * aInDataB,
const q31_t * aBias,
const int32_t * aOut_multipliers,
const int32_t * aOut_shifts,
const tpt_nn_mat_mul_nt * aFilter )

s8 matrix multiplication with the right-hand-side matrix transposed Refer to header file for details.