![]() |
LIBML Version 4.1.9
LIBML NN Software Library
|
#include "tpt_math_nn.h"
Functions | |
| 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. | |