Function arm_avgpool_s16_get_buffer_size_dsp¶
Defined in File arm_nnfunctions.h
Function Documentation¶
-
int32_t arm_avgpool_s16_get_buffer_size_dsp(const int dim_dst_width, 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.
Note
Intended for compilation on Host. If compiling for an Arm target, use arm_avgpool_s16_get_buffer_size().
Note
This is the leg that computes a byte count, so it also validates ch_src like the top-level dispatcher, returning -1 for invalid values.