I want to train a bi-directional LSTM in a tensor stream to perform the task of classifying sequences (classification of feelings).
Since sequences are of variable length, batches are usually filled with zero vectors. I usually use the sequence_length parameter in a unidirectional RNN to avoid training on fill vectors.
How it can be controlled with bidirectional LSTM. Does the sequence_length parameter automatically start from an advanced position in the sequence for the reverse direction?
thanks
source share