CMSIS-NN
CMSIS NN Software Library
|
Parameters for integer LSTM, as defined in TFLM
cmsis_nn_activation activation |
const int32_t* cell_gate_bias |
int32_t cell_state_shift |
cmsis_nn_scaling cell_to_forget_scaling |
cmsis_nn_scaling cell_to_input_scaling |
cmsis_nn_scaling cell_to_output_scaling |
const int32_t* forget_gate_bias |
int32_t hidden_offset |
cmsis_nn_scaling hidden_scaling |
const int32_t* i2c_effective_bias |
input to cell effective bias
const int32_t* i2f_effective_bias |
input to forget gate effective bias
const int32_t* i2i_effective_bias |
input to input effective bias
const int32_t* i2o_effective_bias |
input to output effective bias
const int32_t* input_gate_bias |
cmsis_nn_scaling input_to_cell_scaling |
cmsis_nn_scaling input_to_forget_scaling |
cmsis_nn_scaling input_to_input_scaling |
cmsis_nn_scaling input_to_output_scaling |
cmsis_nn_layer_norm layer_norm |
cmsis_nn_scaling layer_norm_cell_scaling |
layer normalization for cell
cmsis_nn_scaling layer_norm_forget_scaling |
layer normalization for forget gate
cmsis_nn_scaling layer_norm_input_scaling |
layer normalization for input layer
cmsis_nn_scaling layer_norm_output_scaling |
layer normalization for outpus layer
const int32_t* output_gate_bias |
int32_t output_state_offset |
const int32_t* projection_effective_bias |
cmsis_nn_scaling projection_scaling |
const int32_t* r2c_effective_bias |
recurrent gate to cell effective bias
const int32_t* r2f_effective_bias |
recurrent gate to forget gate effective bias
const int32_t* r2i_effective_bias |
recurrent gate to input effective bias
const int32_t* r2o_effective_bias |
recurrent gate to output effective bias
cmsis_nn_scaling recurrent_to_cell_scaling |
cmsis_nn_scaling recurrent_to_forget_scaling |
cmsis_nn_scaling recurrent_to_input_scaling |
cmsis_nn_scaling recurrent_to_output_scaling |
int32_t time_major |
Nonzero (true) if first row of data is timestamps for input