NMSIS-NN  Version 1.3.1
NMSIS NN Software Library
nmsis_nn_lstm_params Struct Reference

Data Fields

int32_t time_major
 
int32_t batch_size
 
int32_t time_steps
 
int32_t input_size
 
int32_t hidden_size
 
int32_t input_offset
 
int32_t forget_to_cell_multiplier
 
int32_t forget_to_cell_shift
 
int32_t input_to_cell_multiplier
 
int32_t input_to_cell_shift
 
int32_t cell_clip
 
int32_t cell_scale_power
 
int32_t output_multiplier
 
int32_t output_shift
 
int32_t output_offset
 
nmsis_nn_lstm_gate forget_gate
 
nmsis_nn_lstm_gate input_gate
 
nmsis_nn_lstm_gate cell_gate
 
nmsis_nn_lstm_gate output_gate
 

Detailed Description

NMSIS-NN object for LSTM parameters

Field Documentation

◆ batch_size

int32_t nmsis_nn_lstm_params::batch_size

◆ cell_clip

int32_t nmsis_nn_lstm_params::cell_clip

Min/max value of cell output

◆ cell_gate

nmsis_nn_lstm_gate nmsis_nn_lstm_params::cell_gate

◆ cell_scale_power

int32_t nmsis_nn_lstm_params::cell_scale_power

◆ forget_gate

nmsis_nn_lstm_gate nmsis_nn_lstm_params::forget_gate

◆ forget_to_cell_multiplier

int32_t nmsis_nn_lstm_params::forget_to_cell_multiplier

◆ forget_to_cell_shift

int32_t nmsis_nn_lstm_params::forget_to_cell_shift

◆ hidden_size

int32_t nmsis_nn_lstm_params::hidden_size

Size of output from the LSTM cell, used as output and recursively into the next time step

◆ input_gate

nmsis_nn_lstm_gate nmsis_nn_lstm_params::input_gate

◆ input_offset

int32_t nmsis_nn_lstm_params::input_offset

◆ input_size

int32_t nmsis_nn_lstm_params::input_size

Size of new data input into the LSTM cell

◆ input_to_cell_multiplier

int32_t nmsis_nn_lstm_params::input_to_cell_multiplier

◆ input_to_cell_shift

int32_t nmsis_nn_lstm_params::input_to_cell_shift

◆ output_gate

nmsis_nn_lstm_gate nmsis_nn_lstm_params::output_gate

◆ output_multiplier

int32_t nmsis_nn_lstm_params::output_multiplier

◆ output_offset

int32_t nmsis_nn_lstm_params::output_offset

◆ output_shift

int32_t nmsis_nn_lstm_params::output_shift

◆ time_major

int32_t nmsis_nn_lstm_params::time_major

0 if first dimension is batch, else first dimension is time

◆ time_steps

int32_t nmsis_nn_lstm_params::time_steps