Struct cmsis_nn_lstm_context_f32

Struct Documentation

struct cmsis_nn_lstm_context_f32

Scratch and mutable state buffers for a float32 LSTM invocation.

Public Members

float32_t *temp1

Temporary buffer used by matrix and gate computations.

float32_t *temp2

Temporary buffer used by matrix and gate computations.

float32_t *cell_state

Mutable cell-state buffer (in/out when streaming).

float32_t *hidden_state

Optional in/out hidden state for streaming; NULL selects stateless. Streaming is NULL-gated, so zero-initialise the context (e.g. designated initialisers) to keep legacy 3-field callers stateless. Matches the quantized cmsis_nn_lstm_context contract.