thuml / Autoformer

About Code release for "Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting" (NeurIPS 2021), https://arxiv.org/abs/2106.13008
MIT License
2k stars 429 forks source link

remove code dup #183

Closed mw66 closed 1 year ago

mw66 commented 1 year ago

fix: https://github.com/thuml/Autoformer/issues/182

add _predict() and _run_model() to remove code dup, and write tight code!