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

Functions

static void depthwise_conv_s4_generic (int8_t *aOut_tensor, const int8_t *aIn_tensor, const int32_t aIn_tensor_w, const int32_t aIn_tensor_h, const int32_t aIn_tensor_c, const int8_t *aKernel, const int32_t aOut_tensor_c, const int32_t ch_mult, const int32_t aKer_w, const int32_t aKer_h, const int32_t padding_w, const int32_t padding_h, const int32_t stride_w, const int32_t stride_h, const int32_t *aBias, const int32_t *aOut_shift, const int32_t *aOut_mult, const int32_t aOut_tensor_w, const int32_t aOut_tensor_h, const int32_t out_offset, const int32_t in_offset, const int32_t activation_min, const int32_t activation_max, const int32_t dilation_x, const int32_t dilation_y)
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.

Function Documentation

◆ depthwise_conv_s4_generic()

void depthwise_conv_s4_generic ( int8_t * aOut_tensor,
const int8_t * aIn_tensor,
const int32_t aIn_tensor_w,
const int32_t aIn_tensor_h,
const int32_t aIn_tensor_c,
const int8_t * aKernel,
const int32_t aOut_tensor_c,
const int32_t ch_mult,
const int32_t aKer_w,
const int32_t aKer_h,
const int32_t padding_w,
const int32_t padding_h,
const int32_t stride_w,
const int32_t stride_h,
const int32_t * aBias,
const int32_t * aOut_shift,
const int32_t * aOut_mult,
const int32_t aOut_tensor_w,
const int32_t aOut_tensor_h,
const int32_t out_offset,
const int32_t in_offset,
const int32_t activation_min,
const int32_t activation_max,
const int32_t dilation_x,
const int32_t dilation_y )
static