How to perform forecasting?

I’m confused about how we can implement forecasting after training a model. Is it logical to just concatenate a tensor of 0’s to the known data?