aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/seq2seq
diff options
context:
space:
mode:
authorGravatar Yifei Feng <1192265+yifeif@users.noreply.github.com>2018-07-02 14:52:55 -0700
committerGravatar GitHub <noreply@github.com>2018-07-02 14:52:55 -0700
commit1f507b2fdac3503569375ec49850624a183f2f1f (patch)
treec15fc48cb9e1771c58d975f130e31d7b0063a61a /tensorflow/contrib/seq2seq
parent71671437c0a6d36bc0f2b5ff0c1003cf76f57cf5 (diff)
parent34cf2ac81046a72d27320a91f37246833665e1c8 (diff)
Merge pull request #20374 from pj-parag/master
Update beam_search_decoder.py
Diffstat (limited to 'tensorflow/contrib/seq2seq')
-rw-r--r--tensorflow/contrib/seq2seq/python/ops/beam_search_decoder.py2
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)