From 4e7d6dd2fb199a6be7be090662f6c3a3d4e503df Mon Sep 17 00:00:00 2001 From: Guillaume Klein Date: Wed, 15 Nov 2017 08:57:41 +0100 Subject: [PATCH] Fix typo in comment --- opennmt/decoders/rnn_decoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(