lstm input code example
Example: input lstm
# LSTM layers work on 3D data with the following structure (nb_sequence, nb_timestep, nb_feature).
# nb_sequence corresponds to the total number of sequences in your dataset (or to the batch size if you are using mini-batch learning).
# nb_timestep corresponds to the size of your sequences.
# nb_feature corresponds to number of features describing each of your timesteps.