Residual LSTM model in PyTorch for time series forecasting