zalandoresearch / pytorch-ts

PyTorch based Probabilistic Time Series forecasting framework based on GluonTS backend
MIT License
1.21k stars 191 forks source link

transformer_tempflow_network sample with seq_len = 1 #93

Open JiajianLu opened 2 years ago

JiajianLu commented 2 years ago

Can I ask how do you sample a new sample with seq_len = 1 given the dec_inp and dec_out with variable seq_len? https://github.com/zalandoresearch/pytorch-ts/blob/0c4b37a48cf02f6e567e8f5c150cd5ea91a34c15/pts/model/transformer_tempflow/transformer_tempflow_network.py#L506