Function arm_convolve_1x1_s8_fast_get_buffer_size

Function Documentation

int32_t arm_convolve_1x1_s8_fast_get_buffer_size(const cmsis_nn_dims *input_dims)

Get the required buffer size for arm_convolve_1x1_s8_fast.

Parameters:
  • input_dims[in] Input (activation) dimensions

Returns:

The function returns the required buffer size in bytes, or -1 if input_dims->c is negative. On builds that need this scratch buffer it also returns -1 if the required size would not fit in an int32_t; other builds need no buffer and return 0.