LuongAttention

class opennmt.models.LuongAttention(*args, **kwargs)[source]

Defines a LSTM encoder-decoder model as described in https://arxiv.org/abs/1508.04025.

Inherits from: opennmt.models.SequenceToSequence