![]() |
LIBML Version 4.1.9
LIBML NN Software Library
|
Performs Single Value Decomposition Filter. More...
Functions | |
| tpt_nn_status | tpt_svdf_s8 (q7_t *aOut_tensor, const q7_t *aIn_tensor, q15_t *state_tensor, const q31_t *bias, const int32_t aRank, const int32_t aIn_offset, const int32_t aOut_offset, const int32_t aIn_act_min, const int32_t aIn_act_max, const int32_t aOut_act_min, const int32_t aOut_act_max, const int32_t aIn_scale, const int32_t aIn_shift, const int32_t aOut_scale, const int32_t aOut_shift, const int32_t aIn_batch, const int32_t aIn_height, const int32_t wt_feature_batch, const q7_t *wt_feature_tensor, const int32_t wt_time_height, const q15_t *wt_time_tensor, q31_t *aTmp_buf, q31_t *aTmp_buf2) |
| tpt_nn_status | tpt_svdf_s8_state_s8 (q7_t *aOut_tensor, const q7_t *aIn_tensor, q7_t *state_tensor, const q31_t *bias, const int32_t aRank, const int32_t aIn_offset, const int32_t aOut_offset, const int32_t aIn_act_min, const int32_t aIn_act_max, const int32_t aOut_act_min, const int32_t aOut_act_max, const int32_t aIn_scale, const int32_t aIn_shift, const int32_t aOut_scale, const int32_t aOut_shift, const int32_t aIn_batch, const int32_t aIn_height, const int32_t wt_feature_batch, const q7_t *wt_feature_tensor, const int32_t wt_time_height, const q7_t *wt_time_tensor, q31_t *aTmp_buf, q31_t *aTmp_buf2) |
| This function performs single value decomposition filter for signed 8-bit integer inputs and signed 8-bit integer state tensor. | |
Performs Single Value Decomposition Filter.
| tpt_nn_status tpt_svdf_s8 | ( | q7_t * | aOut_tensor, |
| const q7_t * | aIn_tensor, | ||
| q15_t * | state_tensor, | ||
| const q31_t * | bias, | ||
| const int32_t | aRank, | ||
| const int32_t | aIn_offset, | ||
| const int32_t | aOut_offset, | ||
| const int32_t | aIn_act_min, | ||
| const int32_t | aIn_act_max, | ||
| const int32_t | aOut_act_min, | ||
| const int32_t | aOut_act_max, | ||
| const int32_t | aIn_scale, | ||
| const int32_t | aIn_shift, | ||
| const int32_t | aOut_scale, | ||
| const int32_t | aOut_shift, | ||
| const int32_t | aIn_batch, | ||
| const int32_t | aIn_height, | ||
| const int32_t | wt_feature_batch, | ||
| const q7_t * | wt_feature_tensor, | ||
| const int32_t | wt_time_height, | ||
| const q15_t * | wt_time_tensor, | ||
| q31_t * | aTmp_buf, | ||
| q31_t * | aTmp_buf2 ) |
| tpt_nn_status tpt_svdf_s8_state_s8 | ( | q7_t * | aOut_tensor, |
| const q7_t * | aIn_tensor, | ||
| q7_t * | state_tensor, | ||
| const q31_t * | bias, | ||
| const int32_t | aRank, | ||
| const int32_t | aIn_offset, | ||
| const int32_t | aOut_offset, | ||
| const int32_t | aIn_act_min, | ||
| const int32_t | aIn_act_max, | ||
| const int32_t | aOut_act_min, | ||
| const int32_t | aOut_act_max, | ||
| const int32_t | aIn_scale, | ||
| const int32_t | aIn_shift, | ||
| const int32_t | aOut_scale, | ||
| const int32_t | aOut_shift, | ||
| const int32_t | aIn_batch, | ||
| const int32_t | aIn_height, | ||
| const int32_t | wt_feature_batch, | ||
| const q7_t * | wt_feature_tensor, | ||
| const int32_t | wt_time_height, | ||
| const q7_t * | wt_time_tensor, | ||
| q31_t * | aTmp_buf, | ||
| q31_t * | aTmp_buf2 ) |
This function performs single value decomposition filter for signed 8-bit integer inputs and signed 8-bit integer state tensor.
| aOut_tensor | pointer of the output tensor |
| aIn_tensor | pointer of the input tensor |
| state_tensor | pointer of the state tensor |
| bias | pointer of the bias vector |
| aRank | number of largest elements to be kept |
| aIn_offset | offset value for the input tensor. It should be in the range of -127 to 128. |
| aOut_offset | offset value for the output tensor. It should be in the range of -127 to 128. |
| aIn_act_min | minimum value that the intput tensor is limited to. It should be in the range of -128 to 127. |
| aIn_act_max | maximum value that the intput tensor is limited to. It should be in the range of -128 to 127. |
| aOut_act_min | minimum value that the outtput tensor is limited to. It should be in the range of -128 to 127. |
| aOut_act_max | maximum value that the intput tensor is limited to. It should be in the range of -128 to 127. |
| aIn_scale | scaling value for the quantization on the inputs |
| aIn_shift | shift amount for the quantization on the inputs |
| aOut_scale | scaling value for the quantization on the outputs |
| aOut_shift | shift amount for the quantization on the outputs |
| aIn_batch | size of input tensor batches |
| aIn_height | height of the input tensor |
| wt_feature_batch | size of the feature weight tensor batches |
| wt_feature_tensor | pointer of the feature weight tensor |
| wt_time_height | height of the time weight tensor |
| wt_time_tensor | pointer of the time weight tensor |
| aTmp_buf | pointer of the bias vector |
| aTmp_buf2 | pointer of the output tensor |