I have work with LSTM in PyTorch, but I have faced a new challenge.
Assume you have some sequences during training that each of contains 10 time step like this:
a0, a1, a2, a3, a4, a5, a6, a7, a8, a9
in this form we easily give these sequence to LSTM, and we train it.
Now my problem is this. In some of sequences, some time steps are not available. For example, above sequece can be like this:
a0, a1, a2, a3, , a5, a6, , a8, a9
In this form, for this sequence, a4 and a7 are not available during training.
How should I handle this?