[Time-Series] Autoformer model
What does this PR do?
Adding Time Series Autoformer model https://arxiv.org/abs/2106.13008
Related issue: #21890
@kashif :)
Differences between the vanilla
- Introduced Series Decomposition in encoder & decoder --- done, waiting for review
- Replaced canonical self-attention with autocorrelation block --- done, waiting for review
- Added seasonal and trend inputs for the decoder --- added todo places in the code
One small open issue left, is adding the series decomposition to the decoder with the trend input. Will do after the initial review :)
The documentation is not available anymore as the PR was closed or merged.
some of the TF tests are failing and I believe they are unrelated
PR is green
thank you @amyeroberts will get it fixed!
@amyeroberts, thank you for the comprehensive CR! I sincerely appreciate the effort and time you dedicated to thoroughly assessing this pull request.
Will be fixed!
CR changes I did:
- Added
layer_norm_eps - Model layers are now take the config, except the
AutoformerAttentionwhich I wasn't sure about - Better variables names
- Addressed questions I could answer
fix-copies is falling because diffs with the time-series-transformer. It's about to decide if to change time-series-transformer here, or to remove "copied from..."
@kashif @amyeroberts