This code implements our hybrid loss framework. 

Designed as a plug-and-play component, it easily integrates with existing sliding-window-based time series forecasting methods. 

loss_G, loss_S, and loss_T represent the overall loss, seasonal sub-series loss, and trend sub-series loss, respectively.