Function arm_lstm_unidirectional_s16_temp2_get_buffer_size

Function Documentation

int32_t arm_lstm_unidirectional_s16_temp2_get_buffer_size(const cmsis_nn_lstm_params *lstm_params)

Get size of the temp2 scratch buffer required by arm_lstm_unidirectional_s16(). Refer to arm_lstm_unidirectional_s8_temp1_get_buffer_size() for argument details, the -1-on-invalid contract and the time_steps / degenerate-0 notes.

Returns:

Required buffer size in bytes: the same figure as arm_lstm_unidirectional_s16_temp1_get_buffer_size() for the same params.