Hello I am still confuse what is the different between function of LSTM and LSTMCell. I have read the documentation however I can not visualize it in my mind the different between 2 of them. Suppose I want to creating this network in the picture.

Suppose green cell is the LSTM cell and I want to make it with depth=3, seq_len=7, input_size=3. Red cell is input and blue cell is output. What function should I use for this and how to use it?, Suppose I just want the output of the last sequence can I just using out[:, -1, :] ?
-Thank you-