What's wrong with my LSTM forecaster?

What is wrong with the code above?