BestSampler

class opennmt.utils.BestSampler[source]

Sample the best predictions.

Inherits from: opennmt.utils.Sampler