CMSIS-NN  
CMSIS NN Software Library
GetBufferSizePooling

Functions

int32_t arm_avgpool_s16_get_buffer_size (const int output_x, const int ch_src)
 Get the required buffer size for S16 average pooling function. More...
 
int32_t arm_avgpool_s16_get_buffer_size_dsp (const int output_x, const int ch_src)
 Get the required buffer size for S16 average pooling function for processors with DSP extension. Refer to arm_avgpool_s16_get_buffer_size() for function argument details. More...
 
int32_t arm_avgpool_s16_get_buffer_size_mve (const int output_x, const int ch_src)
 Get the required buffer size for S16 average pooling function for Arm(R) Helium Architecture case. Refer to arm_avgpool_s16_get_buffer_size() for function argument details. More...
 
int32_t arm_avgpool_s8_get_buffer_size (const int output_x, const int ch_src)
 Get the required buffer size for S8 average pooling function. More...
 
int32_t arm_avgpool_s8_get_buffer_size_dsp (const int output_x, const int ch_src)
 Get the required buffer size for S8 average pooling function for processors with DSP extension. Refer to arm_avgpool_s8_get_buffer_size() for function argument details. More...
 
int32_t arm_avgpool_s8_get_buffer_size_mve (const int output_x, const int ch_src)
 Get the required buffer size for S8 average pooling function for Arm(R) Helium Architecture case. Refer to arm_avgpool_s8_get_buffer_size() for function argument details. More...
 

Description

Function Documentation

◆ arm_avgpool_s16_get_buffer_size()

int32_t arm_avgpool_s16_get_buffer_size ( const int  dim_dst_width,
const int  ch_src 
)
Parameters
[in]dim_dst_widthoutput tensor dimension
[in]ch_srcnumber of input tensor channels
Returns
The function returns required buffer size in bytes

◆ arm_avgpool_s16_get_buffer_size_dsp()

int32_t arm_avgpool_s16_get_buffer_size_dsp ( const int  dim_dst_width,
const int  ch_src 
)
Note
Intended for compilation on Host. If compiling for an Arm target, use arm_avgpool_s16_get_buffer_size().

◆ arm_avgpool_s16_get_buffer_size_mve()

int32_t arm_avgpool_s16_get_buffer_size_mve ( const int  dim_dst_width,
const int  ch_src 
)
Note
Intended for compilation on Host. If compiling for an Arm target, use arm_avgpool_s16_get_buffer_size().

◆ arm_avgpool_s8_get_buffer_size()

int32_t arm_avgpool_s8_get_buffer_size ( const int  dim_dst_width,
const int  ch_src 
)
Parameters
[in]dim_dst_widthoutput tensor dimension
[in]ch_srcnumber of input tensor channels
Returns
The function returns required buffer size in bytes

◆ arm_avgpool_s8_get_buffer_size_dsp()

int32_t arm_avgpool_s8_get_buffer_size_dsp ( const int  dim_dst_width,
const int  ch_src 
)
Note
Intended for compilation on Host. If compiling for an Arm target, use arm_avgpool_s8_get_buffer_size().

◆ arm_avgpool_s8_get_buffer_size_mve()

int32_t arm_avgpool_s8_get_buffer_size_mve ( const int  dim_dst_width,
const int  ch_src 
)
Note
Intended for compilation on Host. If compiling for an Arm target, use arm_avgpool_s8_get_buffer_size().