Our lat2seq framework uses this network as encoder, computing the attention over all lattice nodes.
3 we replace (1) by the following: Similarly, we encode the lattice in backward direction and replace (2) accordingly.