LIBML Version 4.1.9
LIBML NN Software Library
Loading...
Searching...
No Matches
tpt_convolution.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  tpt_nn_conv_1x1_asym_params
 Convolution parameters of 1x1 asym. More...
struct  tpt_nn_conv_sft_params
 Convolution parameters of sft. More...
struct  tpt_nn_conv_sym_any_params
 Convolution parameters of sym. More...
struct  tpt_nn_conv_1xn_asym_params
 Convolution parameters of 1xn asym. More...
struct  tpt_nn_conv_asym_params
 Convolution parameters of asym. More...
struct  tpt_nn_conv_asym_dilation_params
 Convolution parameters with dilation of asym. More...
struct  tpt_nn_conv_asym_wrapper_params
 Convolution parameters with wrapper of asym. More...
struct  tpt_nn_conv_asym_s16_params
 Convolution parameters of asym. More...
struct  tpt_nn_per_channel_quant_params
 Object for the per-channel quantization parameters. More...
struct  tpt_nn_1x1_asym_dims
 Dimensions of tensor(1x1 asym). More...
struct  tpt_nn_sft_dims
 Dimensions of tensor(sft). More...
struct  tpt_nn_sym_any_dims
 Dimensions of tensor(sft). More...
struct  tpt_nn_1xn_asym_dims
 Dimensions of tensor(1xn asym). More...
struct  tpt_nn_asym_dims
 Dimensions of tensor(asym). More...
struct  tpt_nn_dw_conv_asym_params
 Depthwise convolution parameters of asym. More...
struct  tpt_nn_dw_conv_s16_asym_params
 Depthwise convolution parameters of asym. More...
struct  tpt_nn_dw_conv_u8_asym_params
 u8 version of depthwise convolution parameters of asym More...
struct  tpt_nn_dw_conv_asym_dims
 Dimensions of depthwise tensor(asym). More...
struct  tpt_nn_dw_conv_s16_asym_dims
 Dimensions of depthwise tensor(asym). More...
struct  tpt_nn_dw_conv_u8_asym_dims
 Dimensions of u8 depthwise tensor(asym). More...
struct  tpt_nn_dw_conv_3x3_asym_dims
 Dimensions of depthwise tensor(asym). More...
struct  tpt_nn_dw_conv_asym_fast_params
 Fast depthwise convolution parameters of asym. More...
struct  tpt_nn_dw_conv_3x3_asym_params
 3x3 depthwise convolution parameters of asym More...

Functions

tpt_nn_status tpt_convolve_1x1_s8_s8_s8_asym_bias_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_1x1_asym_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_1x1_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1x1 kernels convolution for signed 8-bit interger inputs/outputs in any w and h dimensions with asymmetric quantization on the outputs.
int32_t tpt_convolve_1x1_s8_s8_s8_asym_bias_any_get_buf_size (const int32_t in_tensor_c)
 This function is used to obtain the required size, in bytes,for the input temporary buffer of tpt_convolve_1x1_s8_s8_s8_asym_bias_any.
tpt_nn_status tpt_convolve_1x1_s8_s8_s8_sft_bias_fast_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q7_t *aBias, const tpt_nn_conv_sft_params *aConv_params, const tpt_nn_sft_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1x1 kernels convolution for signed 8-bit integer inputs/outputs in any w and h dimensions with shift-based quantization on the outputs.
tpt_nn_status tpt_convolve_1x1_s8_s8_s8_sym_bias_fast_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1x1 kernels convolution for signed 8-bit integer inputs/outputs in any w and h dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_1x1_s8_s8_s8_sym_fast_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1x1 kernels convolution for signed 8-bit integer inputs/outputs in any w and h dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_1x1_s8_s16_s8_sym_bias_fast_any (q15_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1x1 kernels convolution for signed 8-bit integer inputs and signed 16-bit integer outputs in any w and h dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_1x1_s8_s16_s8_sym_fast_any (q15_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1x1 kernels convolution for signed 8-bit integer inputs and signed 16-bit integer outputs in any w and h dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_1x1_u8_s8_s8_sym_bias_fast_any (int8_t *aOut_tesor, const uint8_t *aIn_tensor, const int8_t *aKernel, const int32_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1x1 kernels convolution for unsigned 8-bit integer inputs and signed 8-bit integer outputs in any w and h dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_1x1_u8_s8_s8_sym_fast_any (int8_t *aOut_tesor, const uint8_t *aIn_tensor, const int8_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1x1 kernels convolution for unsigned 8-bit integer inputs and signed 8-bit integer outputs in any w and h dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_1x1_u8_s16_s8_sym_bias_fast_any (int16_t *aOut_tesor, const uint8_t *aIn_tensor, const int8_t *aKernel, const int32_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1x1 kernels convolution for unsigned 8-bit integer inputs and signed 16-bit integer outputs in any w and h dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_1x1_u8_s16_s8_sym_fast_any (int16_t *aOut_tesor, const uint8_t *aIn_tensor, const int8_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1x1 kernels convolution for unsigned 8-bit integer inputs and signed 16-bit integer outputs in any w and h dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_1x1_u8_u8_s8_sym_bias_fast_any (uint8_t *aOut_tesor, const uint8_t *aIn_tensor, const int8_t *aKernel, const int32_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1x1 kernels convolution for unsigned 8-bit integer inputs and outputs in any w and h dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_1x1_u8_u8_s8_sym_fast_any (uint8_t *aOut_tesor, const uint8_t *aIn_tensor, const int8_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1x1 kernels convolution for unsigned 8-bit integer inputs and outputs in any w and h dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_1xn_s8_s8_s8_asym_bias_any (q7_t *aOut_tensor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_1xn_asym_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_1xn_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs 1xn kernels convolution for signed 8-bit interger inputs/outputs in any w and h dimensions with asymmetric quantization on the outputs.
int32_t tpt_convolve_1xn_s8_s8_s8_asym_bias_any_get_buffer_size (const uint16_t input_c, const uint16_t ker_w, const uint16_t ker_h)
 This function is used to obtain the required size, in bytes,for the input temporary buffer of tpt_convolve_1xn_s8_s8_s8_asym_bias_any.
tpt_nn_status tpt_depthwise_conv_3x3_s8_s8_s8_asym_bias_any (q7_t *aOut_tensor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_dw_conv_3x3_asym_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_dw_conv_3x3_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise 3x3 kernels convolution for signed 8-bit integer inputs/outputs in any x and y dimensions with asymmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s8_s4_asym_bias_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_dw_conv_asym_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_dw_conv_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for signed 8-bit interger inputs/outputs in any w and h dimensions with asymmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s8_s4_asym_bias_any_fast (q7_t *aOut_tensor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_dw_conv_asym_fast_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_dw_conv_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast depthwise convolution for signed 8-bit interger inputs/outputs in any w and h dimensions with asymmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s8_s8_asym_bias_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_dw_conv_asym_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_dw_conv_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for signed 8-bit interger inputs/outputs in any w and h dimensions with asymmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s8_s8_asym_bias_any_dilated (q7_t *aOut_tensor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_asym_dilation_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs dilated convolution for signed 8-bit integer inputs/outputs in any x and y dimensions with asymmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s8_s8_asym_bias_fast_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_dw_conv_asym_fast_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_dw_conv_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast depthwise convolution for signed 8-bit interger inputs/outputs in any w and h dimensions with asymmetric quantization on the outputs.
int32_t tpt_depthwise_conv_s8_s8_s8_asym_bias_fast_any_get_buffer_size (const uint16_t aIn_tensor_c, const uint16_t aKer_dim_w, const uint16_t aKer_dim_h)
 This function is used to obtain the required size, in bytes, for the input temporary buffer of tpt_depthwise_conv_s8_s8_s8_asym_bias_fast_any.
tpt_nn_status tpt_depthwise_conv_s8_s8_s8_sft_bias_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q7_t *aBias, const tpt_nn_conv_sft_params *aConv_params, const tpt_nn_sft_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs signed 8-bit integer depthwise convolution in any x and y dimensions with shift-based quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s8_s8_sft_bias (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q7_t *aBias, const uint16_t stride_dim, const uint16_t padding_dim, const uint16_t bias_lshift, const uint16_t out_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs signed 8-bit integer depthwise convolution with shift-based quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s8_s8_sym_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for signed 8-bit integer inputs/outputs in any x and y dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s8_s8_sym_bias_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q31_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for signed 8-bit integer inputs/outputs in any x and y dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s8_s8_sym_bias (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q31_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t out_scale, const uint16_t pre_rshift, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs depthwise convolution for signed 8-bit integer inputs/outputs with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s8_s8_sym (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t out_scale, const uint16_t pre_rshift, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs depthwise convolution for signed 8-bit integer inputs/outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s16_s8_sym_any (q15_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for signed 8-bit integer inputs and signed 16-bit integer outputs in any x and y dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s16_s8_sym_bias_any (q15_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q31_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for signed 8-bit integer inputs and signed 16-bit integer outputs in any x and y dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s16_s8_sym_bias (q15_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q31_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t out_scale, const uint16_t pre_rshift, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs depthwise convolution for signed 8-bit integer inputs and signed 16-bit integer outputs with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s8_s16_s8_sym (q15_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t out_scale, const uint16_t pre_rshift, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs depthwise convolution for signed 8-bit integer inputs and signed 16-bit integer outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_s16_s16_s8_asym_bias_any (q15_t *aOut_tensor, const q15_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_dw_conv_s16_asym_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_dw_conv_s16_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for signed 6-bit interger inputs/outputs in any w and h dimensions with asymmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_s8_s8_sym_any (q7_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for unsigned 8-bit integer inputs and signed integer 8-bit outputs in any x and y dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_s8_s8_sym_bias_any (q7_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const q31_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for unsigned 8-bit integer inputs and signed integer 8-bit outputs in any x and y dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_s8_s8_sym_bias (q7_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const q31_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t out_scale, const uint16_t pre_rshift, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs depthwise convolution for unsigned 8-bit integer inputs and signed 8-bit integer outputs with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_s8_s8_sym (q7_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t out_scale, const uint16_t pre_rshift, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs depthwise convolution for unsigned 8-bit integer inputs and signed 8-bit integer outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_s16_s8_sym_any (q15_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for unsigned 8-bit integer inputs and signed integer 16-bit outputs in any x and y dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_s16_s8_sym_bias_any (q15_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const q31_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for unsigned 8-bit integer inputs and signed integer 16-bit outputs in any x and y dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_s16_s8_sym_bias (q15_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const q31_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t out_scale, const uint16_t pre_rshift, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs depthwise convolution for unsigned 8-bit integer inputs and signed 16-bit integer outputs with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_s16_s8_sym (q15_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t out_scale, const uint16_t pre_rshift, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs depthwise convolution for unsigned 8-bit integer inputs and signed 16-bit integer outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_u8_s8_sym_any (uint8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for unsigned 8-bit integer inputs/outputs in any x and y dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_u8_s8_sym_bias_any (uint8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const q31_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs depthwise convolution for unsigned 8-bit integer inputs/outputs in any x and y dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_u8_s8_sym_bias (uint8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const q31_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t out_scale, const uint16_t pre_rshift, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs depthwise convolution for unsigned 8-bit integer inputs/outputs with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_u8_s8_sym (uint8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t out_scale, const uint16_t pre_rshift, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs depthwise convolution for unsigned 8-bit integer inputs/outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_u8_u8_u8_asym_bias_any (uint8_t *aOut_tensor, const uint8_t *aIn_tensor, const uint8_t *aKernel, const int32_t *aBias, const int32_t multiplier, const int32_t shift, const tpt_nn_dw_conv_u8_asym_params *aConv_params, const tpt_nn_dw_conv_u8_asym_dims *aConv_dims)
 This function performs depthwise convolution for unsigned 8-bit interger inputs/outputs in any w and h dimensions with asymmetric quantization on the outputs.
tpt_nn_status tpt_depthwise_conv_wrapper_s8_s8_s8_asym (q7_t *aOut_tensor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_dw_conv_asym_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_dw_conv_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This is a wrapper function for tpt_depthwise_conv_3x3_s8_s8_s8_asym_bias_any, tpt_depthwise_conv_s8_s8_s8_asym_bias_fast_any, tpt_depthwise_conv_s8_s8_s8_asym_bias_fast_any.This function calls one among the three depthwise convolution functions according to the provided parameters.
int32_t tpt_depthwise_conv_wrapper_s8_s8_s8_asym_get_buffer_size (const uint16_t aIn_tensor_c, const uint16_t ch_mult, const uint16_t aKer_w, const uint16_t aKer_h, const uint16_t padding_w)
 This function is used to obtain the required size, in bytes,for the input temporary buffer of tpt_depthwise_conv_s8_s8_s8_asym_bias_fast_any_get_buffer_size.
tpt_nn_status tpt_convolve_s8_s8_s8_asym_bias_any (q7_t *aOut_tensor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_asym_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs convolution for signed 8-bit integer inputs/outputs in any w and h dimensions with asymmetric quantization on the outputs.
int32_t tpt_nn_conv_s8_s8_s8_asym_bias_any_get_buffer_size (const uint16_t aIn_tensor_c, const uint16_t aKer_dim_w, const uint16_t aKer_dim_h)
 This function is used to obtain the required size, in bytes, for the input temporary buffer of tpt_convolve_s8_s8_s8_asym_bias_any.
int32_t tpt_nn_conv_HWC_s8_s8_s8_asym_bias_any_dilated_get_buffer_size (const uint16_t in_tensor_ch, const uint16_t ker_dim_x, const uint16_t ker_dim_y)
 This function is used to obtain the required size, in bytes, for the input temporary buffer of tpt_nn_conv_HWC_s8_s8_s8_asym_bias_any_dilated.
tpt_nn_status tpt_convolve_s8_s8_s8_sft_bias_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q7_t *aBias, const tpt_nn_conv_sft_params *aConv_params, const tpt_nn_sft_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs signed 8-bit integer convolution in any w and h dimensions with shift-based quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s8_s8_sft_bias_fast_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q7_t *aBias, const tpt_nn_conv_sft_params *aConv_params, const tpt_nn_sft_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast signed 8-bit integer convolution in any x and y dimensions with shift-based quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s8_s8_sft_bias (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q7_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t bias_lshift, const uint16_t out_rshift, const uint16_t input_w, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_w, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs signed 8-bit integer convolution with shift-based quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s8_s8_sft_bias_fast (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q7_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t bias_lshift, const uint16_t out_rshift, const uint16_t input_w, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_w, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast signed 8-bit integer convolution with shift-based quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s8_s8_RGB_sft_bias (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q7_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t bias_lshift, const uint16_t out_rshift, const uint16_t input_dim, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs signed 8-bit integer convolution for RGB images with shift-based quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s8_s8_RGB_sym_bias_fast (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const q31_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution on RGB images for signed 8-bit integer inputs/outputs with bias input and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s8_s8_RGB_sym_fast (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution on RGB images for signed 8-bit integer inputs/outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s8_s8_sym_bias_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs convolution for signed 8-bit integer inputs/outputs in any w and h dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s8_s8_sym_bias_fast_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast convolution for signed 8-bit integer inputs/outputs in any w and h dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s8_s8_sym_bias_fast (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution for signed 8-bit integer inputs/outputs with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s8_s8_sym_fast (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution for signed 8-bit integer inputs/outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s8_s8_sym_fast_any (q7_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast convolution for signed 8-bit integer inputs/outputs in any w and h dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s16_s8_sym_bias_fast_any (q15_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast convolution for signed 8-bit integer inputs and signed 16-bit integer outputs in any w and h dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s16_s8_RGB_sym_bias_fast (int16_t *aOut_tesor, const int8_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution on RGB images for signed 8-bit integer inputs and signed 16-bit integer outputs with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s16_s8_RGB_sym_fast (int16_t *aOut_tesor, const int8_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution on RGB images for signed 8-bit integer inputs and signed 16-bit integer outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s16_s8_sym_bias_fast (q15_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution for signed 8-bit integer inputs and signed 16-bit integer outputs with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s16_s8_sym_fast_any (q15_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast convolution for signed 8-bit integer inputs and signed 8-bit integer outputs in any w and h dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s8_s16_s8_sym_fast (q15_t *aOut_tesor, const q7_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution for signed 8-bit integer inputs and signed 16-bit integer outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_s16_s16_s8_asym_bias_any (q15_t *aOut_tensor, const q15_t *aIn_tensor, const q7_t *aKernel, const int64_t *aBias, const tpt_nn_conv_asym_s16_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs convolution for signed 16-bit integer inputs/outputs in any x and y dimensions with asymmetric quantization on the outputs.
int32_t tpt_nn_conv_s16_s16_s8_asym_bias_any_get_buffer_size (const int32_t aIn_tensor_c, const int32_t aKer_dim_w, const int32_t aKer_dim_h)
 This function is used to obtain the required size, in bytes, for the input temporary buffer of tpt_convolve_s16_s16_s8_asym_bias_any.
tpt_nn_status tpt_convolve_s16_s16_s16_sft_bias (q15_t *aOut_tesor, const q15_t *aIn_tensor, const q15_t *aKernel, const q15_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t bias_lshift, const uint16_t out_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs signed 16-bit integer convolution with shift-based quantization on the outputs.
tpt_nn_status tpt_convolve_s16_s16_s16_sft_bias_fast (q15_t *aOut_tesor, const q15_t *aIn_tensor, const q15_t *aKernel, const q15_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t bias_lshift, const uint16_t out_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast signed 16-bit integer convolution with shift-based quantization on the outputs.
tpt_nn_status tpt_convolve_s16_s16_s16_sft_bias_fast_any (q15_t *aOut_tesor, const q15_t *aIn_tensor, const q15_t *aKernel, const q15_t *aBias, const uint16_t stride_w, const uint16_t stride_h, const uint16_t padding_w, const uint16_t padding_h, const uint16_t bias_lshift, const uint16_t out_rshift, const uint16_t input_w, const uint16_t input_h, const uint16_t input_c, const uint16_t ker_w, const uint16_t ker_h, const uint16_t output_w, const uint16_t output_h, uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast signed 16-bit integer convolution in any w and h dimensions with shift-based quantization on the outputs.
tpt_nn_status tpt_convolve_u8_s8_s8_RGB_sym_bias_fast (int8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution on RGB images for unsigned 8-bit integer inputs and signed 8-bit integer outputs with bias and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_s8_s8_RGB_sym_fast (int8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution on RGB images for unsigned 8-bit integer inputs and signed 8-bit integer outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_s8_s8_sym_bias_fast_any (int8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast convolution for unsigned 8-bit integer inputs and signed 8-bit integer outputs in any w and h dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_s8_s8_sym_bias_fast (int8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution for unsigned 8-bit integer inputs and signed 8-bit integer outputs with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_s8_s8_sym_fast_any (int8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast convolution for unsigned 8-bit integer inputs and signed 8-bit integer outputs in any w and h dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_s8_s8_sym_fast (int8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution for unsigned 8-bit integer inputs and signed 8-bit integer outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_s16_s8_RGB_sym_bias_fast (int16_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution on RGB images for unsigned 8-bit integer inputs and signed 16-bit integer outputs with bias and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_s16_s8_RGB_sym_fast (int16_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution on RGB images for unsigned 8-bit integer inputs and signed 16-bit integer outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_s16_s8_sym_bias_fast_any (int16_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast convolution for unsigned 8-bit integer inputs and signed 16-bit integer outputs in any w and h dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_s16_s8_sym_bias_fast (int16_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution for unsigned 8-bit integer inputs and signed 16-bit integer outputs with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_s16_s8_sym_fast_any (int16_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast convolution for unsigned 8-bit integer inputs and signed 16-bit integer outputs in any w and h dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_s16_s8_sym_fast (int16_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution for unsigned 8-bit integer inputs and signed 16-bit integer outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_u8_s8_RGB_sym_bias_fast (uint8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution on RGB images for unsigned 8-bit integer inputs/outputs with bias input and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_u8_s8_RGB_sym_fast (uint8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution on RGB images for unsigned 8-bit integer inputs/outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_u8_s8_sym_bias_fast_any (uint8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast convolution for unsigned 8-bit integer inputs/outputs in any w and h dimensions with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_u8_s8_sym_bias_fast (uint8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution for unsigned 8-bit integer inputs/outputs with bias inputs and symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_u8_s8_sym_fast_any (uint8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const tpt_nn_conv_sym_any_params *aConv_params, const tpt_nn_sym_any_dims *aConv_dims, q15_t *aTmp_buf)
 This function performs fast convolution for unsigned 8-bit integer inputs/outputs in any w and h dimensions with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_u8_u8_s8_sym_fast (uint8_t *aOut_tesor, const uint8_t *aIn_tensor, const q7_t *aKernel, const uint16_t stride, const uint16_t padding, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const uint16_t input_dim, const uint16_t input_c, const uint16_t ker_dim, const uint16_t output_dim, const uint16_t output_c, q15_t *aTmp_buf)
 This function performs fast convolution for unsigned 8-bit integer inputs/outputs with symmetric quantization on the outputs.
tpt_nn_status tpt_convolve_wrapper_s8_s8_s8_asym (q7_t *aOut_tensor, const q7_t *aIn_tensor, const q7_t *aKernel, const int32_t *aBias, const tpt_nn_conv_asym_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This is a wrapper function for tpt_convolve_1x1_s8_s8_s8_asym_bias_any, tpt_convolve_1xn_s8_s8_s8_asym_bias_any, tpt_convolve_s8_s8_s8_asym_bias_any. This function calls one among the three convolution functions according to the provided parameters. inputs/outputs in any w and h dimensions with asymmetric quantization on the outputs.
int32_t tpt_convolve_wrapper_s8_s8_s8_asym_get_buffer_size (const uint16_t aIn_tensor_h, const uint16_t aIn_tensor_c, const uint16_t aIn_tensor_n, const uint16_t aKer_dim_w, const uint16_t aKer_dim_h, const uint16_t padding_w, const uint16_t padding_h, const uint16_t stride_w, const uint16_t stride_h, const uint16_t aOut_tensor_w, const uint16_t aOut_tensor_h)
 This function is used to obtain the required size, in bytes, for the input temporary buffer of tpt_convolve_wrapper_s8_s8_s8_asym.
tpt_nn_status tpt_convolve_wrapper_s16_s16_s8_asym (q15_t *aOut_tensor, const q15_t *aIn_tensor, const q7_t *aKernel, const int64_t *aBias, const tpt_nn_conv_asym_wrapper_params *aConv_params, const tpt_nn_per_channel_quant_params *aQuant_params, const tpt_nn_asym_dims *aConv_dims, q15_t *aTmp_buf)
 This is a wrapper function for tpt_convolve_s16_s16_s8_asym_bias_any. This function calls one of the one convolution functions according to the provided parameters.
int32_t tpt_convolve_wrapper_s16_s16_s8_asym_get_buffer_size (const int32_t aIn_tensor_c, const int32_t aKer_dim_w, const int32_t aKer_dim_h)
 This function is used to obtain the required size, in bytes, for the input temporary buffer of tpt_convolve_wrapper_s16_s16_s8_asym.
int8_t * tpt_nn_mat_mult_kernel_s8_offset (const int8_t *input_a, const int8_t *input_b, const uint16_t output_ch, const int32_t *out_shift, const int32_t *out_mult, const int32_t out_offset, const int32_t in_offset, const int16_t activation_min, const int16_t activation_max, const int32_t num_col_a, const int32_t *output_bias, int8_t *out_0)
int16_t * tpt_nn_mat_mult_kernel_s16_offset (const int8_t *input_a, const int16_t *input_b, const int32_t output_ch, const int32_t *out_shift, const int32_t *out_mult, const int32_t activation_min, const int32_t activation_max, const int32_t num_col_a, const int64_t *output_bias, int16_t *out_0)
int8_t * tpt_nn_mat_mult_kernel_q7_bias_sym_any (const int8_t *input_a, const int8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const int32_t *output_bias, int8_t *out_0)
int8_t * tpt_nn_mat_mult_kernel_q7_sym_any (const int8_t *input_a, const int8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, int8_t *out_0)
int16_t * tpt_nn_mat_mult_kernel_q7_q15_bias_sym_any (const int8_t *input_a, const int8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const int32_t *output_bias, int16_t *out_0)
int16_t * tpt_nn_mat_mult_kernel_q7_q15_bias_sym (const int8_t *input_a, const int8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const int32_t *output_bias, int16_t *out_0)
int16_t * tpt_nn_mat_mult_kernel_q7_q15_sym_any (const int8_t *input_a, const int8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, int16_t *out_0)
int16_t * tpt_nn_mat_mult_kernel_q7_q15_sym (const int8_t *input_a, const int8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, int16_t *out_0)
int8_t * tpt_nn_mat_mult_kernel_q7_bias_sft (const int8_t *input_a, const int8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t bias_lshift, const uint16_t out_rshift, const int8_t *output_bias, int8_t *out_0)
int8_t * tpt_nn_mat_mult_kernel_q7_bias_sft_any (const int8_t *input_a, const int8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t bias_lshift, const uint16_t out_rshift, const int8_t *output_bias, int8_t *out_0)
int8_t * tpt_nn_mat_mult_kernel_q7_bias_sym (const int8_t *input_a, const int8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const int32_t *output_bias, int8_t *out_0)
int8_t * tpt_nn_mat_mult_kernel_q7_sym (const int8_t *input_a, const int8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, int8_t *out_0)
int16_t * tpt_nn_mat_mult_kernel_q15_bias_sft_any (const int16_t *input_a, const int16_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t bias_lshift, const uint16_t out_rshift, const int16_t *output_bias, int16_t *out_0)
int16_t * tpt_nn_mat_mult_kernel_q15_bias_sft (const int16_t *input_a, const int16_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t bias_lshift, const uint16_t out_rshift, const int16_t *output_bias, int16_t *out_0)
int16_t * tpt_nn_mat_mult_kernel_q15_u8_bias_sym_any (const int8_t *input_a, const uint8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const int32_t *output_bias, int16_t *out_0)
int16_t * tpt_nn_mat_mult_kernel_q15_u8_bias_sym (const int8_t *input_a, const uint8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const int32_t *output_bias, int16_t *out_0)
int16_t * tpt_nn_mat_mult_kernel_q15_u8_sym_any (const int8_t *input_a, const uint8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, int16_t *out_0)
int16_t * tpt_nn_mat_mult_kernel_q15_u8_sym (const int8_t *input_a, const uint8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, int16_t *out_0)
int8_t * tpt_nn_mat_mult_kernel_q7_u8_bias_sym_any (const int8_t *input_a, const uint8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const int32_t *output_bias, int8_t *out_0)
int8_t * tpt_nn_mat_mult_kernel_q7_u8_bias_sym (const int8_t *input_a, const uint8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const int32_t *output_bias, int8_t *out_0)
int8_t * tpt_nn_mat_mult_kernel_q7_u8_sym_any (const int8_t *input_a, const uint8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, int8_t *out_0)
int8_t * tpt_nn_mat_mult_kernel_q7_u8_sym (const int8_t *input_a, const uint8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, int8_t *out_0)
uint8_t * tpt_nn_mat_mult_kernel_u8_bias_sym (const int8_t *input_a, const uint8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const int32_t *output_bias, uint8_t *out_0)
uint8_t * tpt_nn_mat_mult_kernel_u8_sym_any (const int8_t *input_a, const uint8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, uint8_t *out_0)
uint8_t * tpt_nn_mat_mult_kernel_u8_bias_sym_any (const int8_t *input_a, const uint8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, const int32_t *output_bias, uint8_t *out_0)
uint8_t * tpt_nn_mat_mult_kernel_u8_sym (const int8_t *input_a, const uint8_t *input_b, const uint16_t output_ch, const uint16_t num_col_a, const uint16_t pre_rshift, const uint16_t out_scale, const uint16_t post_rshift, uint8_t *out_0)

Function Documentation

◆ tpt_convolve_s16_s16_s16_sft_bias()

tpt_nn_status tpt_convolve_s16_s16_s16_sft_bias ( q15_t * aOut_tesor,
const q15_t * aIn_tensor,
const q15_t * aKernel,
const q15_t * aBias,
const uint16_t stride,
const uint16_t padding,
const uint16_t bias_lshift,
const uint16_t out_rshift,
const uint16_t input_dim,
const uint16_t input_c,
const uint16_t ker_dim,
const uint16_t output_dim,
const uint16_t output_c,
q15_t * aTmp_buf )

This function performs signed 16-bit integer convolution with shift-based quantization on the outputs.

Parameters
aOut_tesorpointer of the output tensor
aIn_tensorpointer of the input tensor
aKernelpointer of kernel weights
aBiaspointer of the bias vector
strideconvolution stride
paddingpadding size
bias_lshiftleft shift amount for the bias
out_rshiftright shift amount for the output
input_dimdimension of the input tensor
input_cnumber of input tensor channels
ker_dimdimension of the filter kernel
output_dimdimension of the output tensor
output_cnumber of output tensor channels
aTmp_buftemporary buffer for the input tensor.Its size must be equal to "in_tensor_ch * ker_dim * ker_dim".
Returns
tpt_nn_status

◆ tpt_convolve_s16_s16_s16_sft_bias_fast()

tpt_nn_status tpt_convolve_s16_s16_s16_sft_bias_fast ( q15_t * aOut_tesor,
const q15_t * aIn_tensor,
const q15_t * aKernel,
const q15_t * aBias,
const uint16_t stride,
const uint16_t padding,
const uint16_t bias_lshift,
const uint16_t out_rshift,
const uint16_t input_dim,
const uint16_t input_c,
const uint16_t ker_dim,
const uint16_t output_dim,
const uint16_t output_c,
q15_t * aTmp_buf )

This function performs fast signed 16-bit integer convolution with shift-based quantization on the outputs.

Parameters
aOut_tesorpointer of the output tensor
aIn_tensorpointer of the input tensor
aKernelpointer of kernel weights
aBiaspointer of the bias vector
strideconvolution stride
paddingpadding size
bias_lshiftleft shift amount for the bias
out_rshiftright shift amount for the output
input_dimdimension of the input tensor
input_cnumber of input tensor channels
ker_dimdimension of the filter kernel
output_dimdimension of the output tensor
output_cnumber of output tensor channels
aTmp_buftemporary buffer for the input tensor.Its size must be equal to "in_tensor_ch * ker_dim * ker_dim".
Returns
tpt_nn_status
Note
The input constraints of this function are:
  • input_c is a multiple of 2
  • output_c is a multiple of 2

◆ tpt_convolve_s16_s16_s16_sft_bias_fast_any()

tpt_nn_status tpt_convolve_s16_s16_s16_sft_bias_fast_any ( q15_t * aOut_tesor,
const q15_t * aIn_tensor,
const q15_t * aKernel,
const q15_t * aBias,
const uint16_t stride_w,
const uint16_t stride_h,
const uint16_t padding_w,
const uint16_t padding_h,
const uint16_t bias_lshift,
const uint16_t out_rshift,
const uint16_t input_w,
const uint16_t input_h,
const uint16_t input_c,
const uint16_t ker_w,
const uint16_t ker_h,
const uint16_t output_w,
const uint16_t output_h,
uint16_t output_c,
q15_t * aTmp_buf )

This function performs fast signed 16-bit integer convolution in any w and h dimensions with shift-based quantization on the outputs.

Parameters
aOut_tesorpointer of the output tensor
aIn_tensorpointer of the input tensor
aKernelpointer of kernel weights
aBiaspointer of the bias vector
stride_wconvolution stride in the w dimension
stride_hconvolution stride in the h dimension
padding_wpadding size in the w dimension
padding_hpadding size in the h dimension
bias_lshiftleft shift amount for the bias
out_rshiftright shift amount for the output
input_ww dimension of the input tensor
input_hh dimension of the input tensor
input_cnumber of input tensor channels
ker_ww dimension of the filter kernel
ker_hh dimension of the filter kernel
output_ww dimension of the output tensor
output_hh dimension of the output tensor
output_cnumber of output tensor channels
aTmp_buftemporary buffer for the input tensor.Its size must be equal to "2 * in_tensor_ch * ker_dim_x * ker_dim_y".
Returns
tpt_nn_status
Note
The input constraints of this function are:
  • input_c is a multiple of 2
  • output_c is a multiple of 2

◆ tpt_convolve_wrapper_s16_s16_s8_asym()

tpt_nn_status tpt_convolve_wrapper_s16_s16_s8_asym ( q15_t * aOut_tensor,
const q15_t * aIn_tensor,
const q7_t * aKernel,
const int64_t * aBias,
const tpt_nn_conv_asym_wrapper_params * aConv_params,
const tpt_nn_per_channel_quant_params * aQuant_params,
const tpt_nn_asym_dims * aConv_dims,
q15_t * aTmp_buf )

This is a wrapper function for tpt_convolve_s16_s16_s8_asym_bias_any. This function calls one of the one convolution functions according to the provided parameters.

Parameters
aOut_tesorpointer of output tensor
aIn_tensorpointer of the input tensor
aKernelpointer of kernel weights
aBiaspointer of the bias vector
aConv_paramsconvolution parameters (e.g. strides,pads,...) range of aConv_params->input_offset : dummy range of aConv_params->output_offset : dummy range of aConv_params->activative_min : -32768 to
  1. range of aConv_params->activative_max : -32768 to 32767.
aQuant_paramsper-channel quantization infoit contains the multiplier and shift values to be applied to each output channel
aConv_dimstensor dimensions
aTmp_bufdummy
Returns
tpt_nn_status
Note
  • Bias could be a null pointer as the bias vector is optional for this function.
  • During the quantization process, a positive out_shift value is used to left shift calculation results whereas a negative one is used to right shift.

◆ tpt_convolve_wrapper_s16_s16_s8_asym_get_buffer_size()

int32_t tpt_convolve_wrapper_s16_s16_s8_asym_get_buffer_size ( const int32_t aIn_tensor_c,
const int32_t aKer_dim_w,
const int32_t aKer_dim_h )

This function is used to obtain the required size, in bytes, for the input temporary buffer of tpt_convolve_wrapper_s16_s16_s8_asym.

Parameters
aIn_tensor_cnumber of input tensor channels
aKer_dim_ww dimension of the filter kernel
aKer_dim_hh dimension of the filter kernel
Returns
int32_t

◆ tpt_depthwise_conv_wrapper_s8_s8_s8_asym()

tpt_nn_status tpt_depthwise_conv_wrapper_s8_s8_s8_asym ( q7_t * aOut_tensor,
const q7_t * aIn_tensor,
const q7_t * aKernel,
const int32_t * aBias,
const tpt_nn_dw_conv_asym_params * aConv_params,
const tpt_nn_per_channel_quant_params * aQuant_params,
const tpt_nn_dw_conv_asym_dims * aConv_dims,
q15_t * aTmp_buf )

This is a wrapper function for tpt_depthwise_conv_3x3_s8_s8_s8_asym_bias_any, tpt_depthwise_conv_s8_s8_s8_asym_bias_fast_any, tpt_depthwise_conv_s8_s8_s8_asym_bias_fast_any.This function calls one among the three depthwise convolution functions according to the provided parameters.

Parameters
aOut_tesorpointer of output tensor
aIn_tensorpointer of the input tensor
aKernelpointer of kernel weights
aBiaspointer of the bias vector
aConv_paramsconvolution parameters (e.g. strides,pads,...) range of aConv_params->input_offset : [-127, 128] range of aConv_params->output_offset : [-128, 127]
aQuant_paramsper-channel quantization infoit contains the multiplier and shift values to be applied to each output channel
aConv_dimstensor dimensions
aTmp_bufdummy
Returns
tpt_nn_status

◆ tpt_depthwise_conv_wrapper_s8_s8_s8_asym_get_buffer_size()

int32_t tpt_depthwise_conv_wrapper_s8_s8_s8_asym_get_buffer_size ( const uint16_t aIn_tensor_c,
const uint16_t ch_mult,
const uint16_t aKer_w,
const uint16_t aKer_h,
const uint16_t padding_w )

This function is used to obtain the required size, in bytes,for the input temporary buffer of tpt_depthwise_conv_s8_s8_s8_asym_bias_fast_any_get_buffer_size.

Parameters
aIn_tensor_cnumber of input tensor channels
ch_multmultiplier of input tensor channels
aKer_wx dimension of the filter kernel
aKer_hy dimension of the filter kernel
padding_wpadding size in the x dimension
Returns
int32_t

◆ tpt_nn_conv_HWC_s8_s8_s8_asym_bias_any_dilated_get_buffer_size()

int32_t tpt_nn_conv_HWC_s8_s8_s8_asym_bias_any_dilated_get_buffer_size ( const uint16_t in_tensor_ch,
const uint16_t ker_dim_x,
const uint16_t ker_dim_y )

This function is used to obtain the required size, in bytes, for the input temporary buffer of tpt_nn_conv_HWC_s8_s8_s8_asym_bias_any_dilated.

Parameters
[in]in_tensor_chnumber of input tensor channels
[in]ker_dim_xx dimension of the filter kernel
[in]ker_dim_yy dimension of the filter kernel
Returns
int32_t

◆ tpt_nn_mat_mult_kernel_q15_bias_sft()

int16_t * tpt_nn_mat_mult_kernel_q15_bias_sft ( const int16_t * input_a,
const int16_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t bias_lshift,
const uint16_t out_rshift,
const int16_t * output_bias,
int16_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q15_bias_sft_any()

int16_t * tpt_nn_mat_mult_kernel_q15_bias_sft_any ( const int16_t * input_a,
const int16_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t bias_lshift,
const uint16_t out_rshift,
const int16_t * output_bias,
int16_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q15_u8_bias_sym()

int16_t * tpt_nn_mat_mult_kernel_q15_u8_bias_sym ( const int8_t * input_a,
const uint8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
const int32_t * output_bias,
int16_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q15_u8_bias_sym_any()

int16_t * tpt_nn_mat_mult_kernel_q15_u8_bias_sym_any ( const int8_t * input_a,
const uint8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
const int32_t * output_bias,
int16_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q15_u8_sym()

int16_t * tpt_nn_mat_mult_kernel_q15_u8_sym ( const int8_t * input_a,
const uint8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
int16_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q15_u8_sym_any()

int16_t * tpt_nn_mat_mult_kernel_q15_u8_sym_any ( const int8_t * input_a,
const uint8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
int16_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_bias_sft()

int8_t * tpt_nn_mat_mult_kernel_q7_bias_sft ( const int8_t * input_a,
const int8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t bias_lshift,
const uint16_t out_rshift,
const int8_t * output_bias,
int8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_bias_sft_any()

int8_t * tpt_nn_mat_mult_kernel_q7_bias_sft_any ( const int8_t * input_a,
const int8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t bias_lshift,
const uint16_t out_rshift,
const int8_t * output_bias,
int8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_bias_sym()

int8_t * tpt_nn_mat_mult_kernel_q7_bias_sym ( const int8_t * input_a,
const int8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
const int32_t * output_bias,
int8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_bias_sym_any()

int8_t * tpt_nn_mat_mult_kernel_q7_bias_sym_any ( const int8_t * input_a,
const int8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
const int32_t * output_bias,
int8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_q15_bias_sym()

int16_t * tpt_nn_mat_mult_kernel_q7_q15_bias_sym ( const int8_t * input_a,
const int8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
const int32_t * output_bias,
int16_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_q15_bias_sym_any()

int16_t * tpt_nn_mat_mult_kernel_q7_q15_bias_sym_any ( const int8_t * input_a,
const int8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
const int32_t * output_bias,
int16_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_q15_sym()

int16_t * tpt_nn_mat_mult_kernel_q7_q15_sym ( const int8_t * input_a,
const int8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
int16_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_q15_sym_any()

int16_t * tpt_nn_mat_mult_kernel_q7_q15_sym_any ( const int8_t * input_a,
const int8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
int16_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_sym()

int8_t * tpt_nn_mat_mult_kernel_q7_sym ( const int8_t * input_a,
const int8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
int8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_sym_any()

int8_t * tpt_nn_mat_mult_kernel_q7_sym_any ( const int8_t * input_a,
const int8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
int8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_u8_bias_sym()

int8_t * tpt_nn_mat_mult_kernel_q7_u8_bias_sym ( const int8_t * input_a,
const uint8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
const int32_t * output_bias,
int8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_u8_bias_sym_any()

int8_t * tpt_nn_mat_mult_kernel_q7_u8_bias_sym_any ( const int8_t * input_a,
const uint8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
const int32_t * output_bias,
int8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_u8_sym()

int8_t * tpt_nn_mat_mult_kernel_q7_u8_sym ( const int8_t * input_a,
const uint8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
int8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_q7_u8_sym_any()

int8_t * tpt_nn_mat_mult_kernel_q7_u8_sym_any ( const int8_t * input_a,
const uint8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
int8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_s16_offset()

int16_t * tpt_nn_mat_mult_kernel_s16_offset ( const int8_t * input_a,
const int16_t * input_b,
const int32_t output_ch,
const int32_t * out_shift,
const int32_t * out_mult,
const int32_t activation_min,
const int32_t activation_max,
const int32_t num_col_a,
const int64_t * output_bias,
int16_t * out_0 )

◆ tpt_nn_mat_mult_kernel_s8_offset()

int8_t * tpt_nn_mat_mult_kernel_s8_offset ( const int8_t * input_a,
const int8_t * input_b,
const uint16_t output_ch,
const int32_t * out_shift,
const int32_t * out_mult,
const int32_t out_offset,
const int32_t in_offset,
const int16_t activation_min,
const int16_t activation_max,
const int32_t num_col_a,
const int32_t * output_bias,
int8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_u8_bias_sym()

uint8_t * tpt_nn_mat_mult_kernel_u8_bias_sym ( const int8_t * input_a,
const uint8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
const int32_t * output_bias,
uint8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_u8_bias_sym_any()

uint8_t * tpt_nn_mat_mult_kernel_u8_bias_sym_any ( const int8_t * input_a,
const uint8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
const int32_t * output_bias,
uint8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_u8_sym()

uint8_t * tpt_nn_mat_mult_kernel_u8_sym ( const int8_t * input_a,
const uint8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
uint8_t * out_0 )

◆ tpt_nn_mat_mult_kernel_u8_sym_any()

uint8_t * tpt_nn_mat_mult_kernel_u8_sym_any ( const int8_t * input_a,
const uint8_t * input_b,
const uint16_t output_ch,
const uint16_t num_col_a,
const uint16_t pre_rshift,
const uint16_t out_scale,
const uint16_t post_rshift,
uint8_t * out_0 )