I propose a deep learning term structure forecasting model by introducing a Nelson-Siegel layer that generates smooth yield curve forecasts while explaining the stylized facts of the term structure of interest rates. It is flexible enough to easily incorporate time-varying or time-invariant...