diff options
author | 2018-08-22 13:01:31 -0700 | |
---|---|---|
committer | 2018-08-22 13:06:14 -0700 | |
commit | d45904a6165857a58ce5a82a20bdd38a5d00c5ec (patch) | |
tree | d070e5df38edfc29662e1bbddbba63b4d1b69bd3 /tensorflow/python/estimator/canned | |
parent | 2325b1e1979694de07439fae7b4585eb6ed4f99a (diff) |
Fix typo: missing ' ' in error message.
PiperOrigin-RevId: 209815036
Diffstat (limited to 'tensorflow/python/estimator/canned')
-rw-r--r-- | tensorflow/python/estimator/canned/head.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/estimator/canned/head.py b/tensorflow/python/estimator/canned/head.py index da9a64c2bc..06593f9520 100644 --- a/tensorflow/python/estimator/canned/head.py +++ b/tensorflow/python/estimator/canned/head.py @@ -335,8 +335,8 @@ def _check_dense_labels_match_logits_and_reshape( 'Expected labels dimension=%s. Received %s. ' 'Suggested Fix:' 'If your classifier expects one-hot encoding label,' - 'check your n_classes argument to the estimator' - 'and/or the shape of your label.' + 'check your n_classes argument to the estimator ' + 'and/or the shape of your label. ' 'Otherwise, check the shape of your label.' % (expected_labels_dimension, dim1)) expected_labels_shape = array_ops.concat( |