Hello!
In lstm(x)[0] we use only part of the data and it affects a number of epochs trained.
Does a better solution exist?
I mean we have to do something not to lose valuable data from our LSTM.
Edit:
I just realized doing some TF that it’s not a ready layer and some things have to be done with states.
Someone ready to share a ready LSTM layer for PyTorch? 
I am making a function that I can call to make LSTM for TF.
My struggle in TF. Maybe it’ll inspire someone. If TF code is against rules of the forum I will delete.
Can I post TF code here?