Function arm_svdf_state_s16_s8_output_ctx_get_buffer_size¶
Defined in File arm_nnfunctions.h
Function Documentation¶
-
int32_t arm_svdf_state_s16_s8_output_ctx_get_buffer_size(const cmsis_nn_svdf_params *svdf_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *weights_feature_dims)¶
Get size of the output_ctx staging buffer required by arm_svdf_state_s16_s8(). Refer to arm_svdf_s8_output_ctx_get_buffer_size() for argument details, the -1-on-invalid contract and the degenerate-0 caveat.
Returns input_dims->n * (weights_feature_dims->n / svdf_params->rank) * sizeof(int32_t), truncating division - the same figure as arm_svdf_s8_output_ctx_get_buffer_size() for the same shape.