Hi,
A bidirectional lstm is composed of two lstms in opposite directions and the output size is 2*nhid. But how are the elements ordered?
Are the elements in places 0:nid in the output correspond to output of the lstm going from first element to last and the elements in places nid:end correspond to the output of the lstm going from last to first? is it the other way around? are the elements interleaved?
I just need to verify it since it affects the implementation of my model.
Thanks!
Gil