aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py')
-rw-r--r--tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py b/tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py
index 8608054deb..3d1589f27e 100644
--- a/tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py
+++ b/tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py
@@ -933,7 +933,7 @@ def one2many_rnn_seq2seq(encoder_inputs,
Args:
encoder_inputs: A list of 1D int32 Tensors of shape [batch_size].
- decoder_inputs_dict: A dictionany mapping decoder name (string) to
+ decoder_inputs_dict: A dictionary mapping decoder name (string) to
the corresponding decoder_inputs; each decoder_inputs is a list of 1D
Tensors of shape [batch_size]; num_decoders is defined as
len(decoder_inputs_dict).
@@ -1177,7 +1177,7 @@ def model_with_buckets(encoder_inputs,
if per_example_loss is set, a list of 1D batch-sized float Tensors.
Raises:
- ValueError: If length of encoder_inputsut, targets, or weights is smaller
+ ValueError: If length of encoder_inputs, targets, or weights is smaller
than the largest (last) bucket.
"""
if len(encoder_inputs) < buckets[-1][0]: