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

Data Structures

struct  tpt_nn_avgpool_params_act_s8
struct  tpt_nn_avgpool_params_act_s16
 avgpool parameters of act any s16 More...
struct  tpt_nn_avgpool_params_any_s8
struct  tpt_nn_avgpool_dims_act_s8
struct  tpt_nn_avgpool_dims_act_s16
 Dimensions of tensor. More...
struct  tpt_nn_avgpool_dims_any_s8
struct  tpt_nn_maxpool_params_act_s8
struct  tpt_nn_maxpool_params_act_s16
 maxpool parameters of act any s16 More...
struct  tpt_nn_maxpool_dims_act_s8
struct  tpt_nn_maxpool_dims_act_s16
 Dimensions of tensor. More...

Functions

tpt_nn_status tpt_avgpool_s8_any_act (int8_t *aOut_tensor, int8_t *aIn_tensor, const tpt_nn_avgpool_params_act_s8 *aPool_params, const tpt_nn_avgpool_dims_act_s8 *aPool_dims, int16_t *in_tmp_buf)
 This is an average pooling function for signed 8-bit integer inputs in any x and y dimensions with activation parameters to limit the outputs.
tpt_nn_status tpt_avgpool_s8_any (int8_t *aOut_tensor, int8_t *aIn_tensor, const tpt_nn_avgpool_params_any_s8 *aPool_params, const tpt_nn_avgpool_dims_any_s8 *aPool_dims, const uint16_t out_lshift, int8_t *in_tmp_buf)
 This is an average pooling function for signed 8-bit integer inputs in any x and y dimensions.
tpt_nn_status tpt_avgpool_s8 (int8_t *aOut_tensor, int8_t *aIn_tensor, const uint16_t stride, const uint16_t padding, const uint16_t in_tensor_dim, const uint16_t in_tensor_c, const uint16_t Kernel_dim, const uint16_t out_tensor_dim, int8_t *in_tmp_buf)
 This is an average pooling function for signed 8-bit integer inputs.
tpt_nn_status tpt_avgpool_s16_any_act (int16_t *aOut_tensor, int16_t *aIn_tensor, const tpt_nn_avgpool_params_act_s16 *aPool_params, const tpt_nn_avgpool_dims_act_s16 *aPool_dims, int16_t *in_tmp_buf)
 This is an average pooling function for signed 16-bit integer inputs in any x and y dimensions with activation parameters to limit the outputs.
tpt_nn_status tpt_maxpool_s8_any_act (int8_t *aOut_tensor, int8_t *aIn_tensor, const tpt_nn_maxpool_params_act_s8 *aPool_params, const tpt_nn_maxpool_dims_act_s8 *aPool_dims, int16_t *in_tmp_buf)
 This is an average pooling function for signed 8-bit integer inputs in any x and y dimensions with activation parameters to limit the outputs.
tpt_nn_status tpt_maxpool_s8 (int8_t *aOut_tensor, int8_t *aIn_tensor, const uint16_t in_tensor_dim, const uint16_t in_tensor_c, const uint16_t ker_dim, const uint16_t out_tensor_dim, const uint16_t padding, const uint16_t stride, int8_t *in_tmp_buf)
 This is a max pooling function for signed 8-bit integer inputs.
int32_t tpt_avgpool_s8_any_act_get_buffer_size (const int aOut_tensor_dim_w, const int aIn_tensor_c)
 This function is used to obtain the required size, in bytes, for the input temporary buffer of tpt_avgpool_s8_any_act.
tpt_nn_status tpt_maxpool_s16_any_act (int16_t *aOut_tensor, int16_t *aIn_tensor, const tpt_nn_maxpool_params_act_s16 *aPool_params, const tpt_nn_maxpool_dims_act_s16 *aPool_dims, int16_t *in_tmp_buf)
 This is an average pooling function for signed 16-bit integer inputs in any x and y dimensions with activation parameters to limit the outputs.