diff --git a/opennmt/decoders/rnn_decoder.py b/opennmt/decoders/rnn_decoder.py index ecb838060..036c129c1 100644 --- a/opennmt/decoders/rnn_decoder.py +++ b/opennmt/decoders/rnn_decoder.py @@ -116,7 +116,7 @@ def decode(self, output_layer = self._build_output_layer(vocab_size) - # With TraningHelper, project all timesteps at once. + # With TrainingHelper, project all timesteps at once. fused_projection = isinstance(helper, tf.contrib.seq2seq.TrainingHelper) decoder = tf.contrib.seq2seq.BasicDecoder(