TransformerBase
- class opennmt.models.TransformerBase(*args, **kwargs)[source]
Defines a base Transformer model as described in https://arxiv.org/abs/1706.03762.
Inherits from:
opennmt.models.Transformer
Defines a base Transformer model as described in https://arxiv.org/abs/1706.03762.
Inherits from: opennmt.models.Transformer