When i run my trained lstm on the test data it predicts all of it at once without retraining on each new prediction, but since i am working with time series this is necessary for my work. Isn't there a built-in function in keras for this type of prediction?