Function arm_avgpool_s16_get_buffer_size_mve¶
Defined in File arm_nnfunctions.h
Function Documentation¶
-
int32_t arm_avgpool_s16_get_buffer_size_mve(const int dim_dst_width, 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.
Note
Intended for compilation on Host. If compiling for an Arm target, use arm_avgpool_s16_get_buffer_size().
Note
This variant needs no buffer, so it returns 0 for every in-range shape. It still validates ch_src like the top-level dispatcher and the DSP leg, returning -1 for a negative ch_src or one whose byte count would not fit in an int32_t, so all three entry points answer an out-of-range shape alike.