MeanEncoder
- class opennmt.encoders.MeanEncoder(*args, **kwargs)[source]
A simple encoder that takes the mean of its inputs.
Inherits from:
opennmt.encoders.Encoder
A simple encoder that takes the mean of its inputs.
Inherits from: opennmt.encoders.Encoder