LIBML Version 4.1.9
LIBML NN Software Library
Loading...
Searching...
No Matches
tpt_convolve_1xn_s8_s8_s8_asym_bias_any.c File Reference
#include "tpt_math_nn.h"
Include dependency graph for tpt_convolve_1xn_s8_s8_s8_asym_bias_any.c:

Functions

static int8_t * tpt_nn_1xn_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_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.