I have two non-equal-length sequence data, one for the input and the other for the target. This data is not nlp data, but multivariate time series data. The data is for predicting values of the next M days(regression) using the features of the past N days.
In this case, I wonder how to handle the data in inferencing nn.Transformer or nn.TransformerDecoderLayer.
It doesn’t have any token like , so I have no idea how can I prepare the tgt when calling decoder’s forward()
Need your advice or refenrece code or source