CMSIS-NN  Version 3.1.0
CMSIS NN Software Library
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups Pages
arm_max_pool_s16.c File Reference

Functions

static void compare_and_replace_if_larger (int16_t *base, const int16_t *target, int32_t length)
 
static void clamp_output (int16_t *source, int32_t length, const int16_t act_min, const int16_t act_max)
 
arm_status arm_max_pool_s16 (const cmsis_nn_context *ctx, const cmsis_nn_pool_params *pool_params, const cmsis_nn_dims *input_dims, const int16_t *src, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims, int16_t *dst)
 s16 max pooling function. More...
 

Function Documentation

static void clamp_output ( int16_t *  source,
int32_t  length,
const int16_t  act_min,
const int16_t  act_max 
)
static
static void compare_and_replace_if_larger ( int16_t *  base,
const int16_t *  target,
int32_t  length 
)
static