diff options
author | Patrick Nguyen <drpng@google.com> | 2017-02-27 12:11:46 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-02-27 13:03:10 -0800 |
commit | f8838fabb0a18ea8ad852718e3c1ded4dcc5917d (patch) | |
tree | a26b00cef8a990ace96de48064f265ce7968dd8a /tensorflow/contrib/legacy_seq2seq | |
parent | 79098e13efe58ef3e56025c93761f4d7bb02dfbe (diff) |
Fix spelling errors.
Change: 148678164
Diffstat (limited to 'tensorflow/contrib/legacy_seq2seq')
-rw-r--r-- | tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py | 4 |
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]: |