diff options
author | Parag Jain <pj-parag@users.noreply.github.com> | 2018-06-28 16:00:04 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-28 16:00:04 +0530 |
commit | 34cf2ac81046a72d27320a91f37246833665e1c8 (patch) | |
tree | bda226aa2348d2c6feb8c7da89259266f1aa3ede /tensorflow/contrib/seq2seq | |
parent | 51ddb66cdf1444998827e03c4b5f592841ee6255 (diff) |
Update beam_search_decoder.py
Diffstat (limited to 'tensorflow/contrib/seq2seq')
-rw-r--r-- | tensorflow/contrib/seq2seq/python/ops/beam_search_decoder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/seq2seq/python/ops/beam_search_decoder.py b/tensorflow/contrib/seq2seq/python/ops/beam_search_decoder.py index 184144f64a..c7fbeea310 100644 --- a/tensorflow/contrib/seq2seq/python/ops/beam_search_decoder.py +++ b/tensorflow/contrib/seq2seq/python/ops/beam_search_decoder.py @@ -250,7 +250,7 @@ class BeamSearchDecoder(decoder.Decoder): ``` tiled_encoder_outputs = tf.contrib.seq2seq.tile_batch( encoder_outputs, multiplier=beam_width) - tiled_encoder_final_state = tf.conrib.seq2seq.tile_batch( + tiled_encoder_final_state = tf.contrib.seq2seq.tile_batch( encoder_final_state, multiplier=beam_width) tiled_sequence_length = tf.contrib.seq2seq.tile_batch( sequence_length, multiplier=beam_width) |