aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/legacy_seq2seq
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-07-19 19:06:12 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-07-19 19:09:32 -0700
commitf783f5c193a2216619af5b41c6503e52c0796db5 (patch)
tree9f163a0f5d618a9a42fad90c5ebb4d7a6c3a7253 /tensorflow/contrib/legacy_seq2seq
parent22bbd23a4215995724e0a95090f8c7035307164e (diff)
Fix missing spaces for several errors.
PiperOrigin-RevId: 162567926
Diffstat (limited to 'tensorflow/contrib/legacy_seq2seq')
-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 23b4a73b23..d4de638338 100644
--- a/tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py
+++ b/tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py
@@ -1189,10 +1189,10 @@ def model_with_buckets(encoder_inputs,
raise ValueError("Length of encoder_inputs (%d) must be at least that of la"
"st bucket (%d)." % (len(encoder_inputs), buckets[-1][0]))
if len(targets) < buckets[-1][1]:
- raise ValueError("Length of targets (%d) must be at least that of last"
+ raise ValueError("Length of targets (%d) must be at least that of last "
"bucket (%d)." % (len(targets), buckets[-1][1]))
if len(weights) < buckets[-1][1]:
- raise ValueError("Length of weights (%d) must be at least that of last"
+ raise ValueError("Length of weights (%d) must be at least that of last "
"bucket (%d)." % (len(weights), buckets[-1][1]))
all_inputs = encoder_inputs + decoder_inputs + targets + weights