LSTM t-1 feature

HI guys,

I am a beginner using the LSTM model. I’d like to know, if I train the model using as a feauture the target variable y at t-1 for the lstm model and defining accordingly the input_shape, how can I make prediction using the testing file which doesn’t have any actual value to use?

Thanks
Leonardo