LSTM Cell State/Hidden State Storage and Input

Hello all,

I have a fairly simple question. When calling the model with the input and hidden parameters, does the hidden state include the hidden state and cell state or just the hidden state. I am looking to run the network in a simulation and the hidden/cell states need to be stored until the training data is collected from the simulation. As of right now, I am storing the hidden state and I just wanted to check whether or not the cell state is stored along with that.

Thanks!

If something in this question is unclear, please let me know

Reading some of the documentation, I’m 90% sure that the cell state is stored along with the hidden state when passing it in to the network and at the output.

Okay I’m 99.99% sure that cell state is stored with hidden, so I think I’m good