onmt.FeaturesGenerator

Feature decoder generator. Given RNN state, produce categorical distribution over tokens and features.

Implements .

[src]

onmt.FeaturesGenerator(rnnSize, outputSizes)

Parameters:

  • rnnSize - Input rnn size.
  • outputSizes - Table of each output size.