diff options
author | 2018-07-09 09:16:02 -0700 | |
---|---|---|
committer | 2018-07-09 09:20:11 -0700 | |
commit | deee57e92cf8e2278e613a026a516acafd6eddd1 (patch) | |
tree | 358534c662a89d3fb0c3f7283ca21010eb6bed55 /tensorflow/python/estimator/training.py | |
parent | fdcb7ca61fc5b974c46998da87225357fff14354 (diff) |
Improved documentation.
PiperOrigin-RevId: 203776243
Diffstat (limited to 'tensorflow/python/estimator/training.py')
-rw-r--r-- | tensorflow/python/estimator/training.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/estimator/training.py b/tensorflow/python/estimator/training.py index 5730101092..f5ac79ced2 100644 --- a/tensorflow/python/estimator/training.py +++ b/tensorflow/python/estimator/training.py @@ -312,10 +312,10 @@ def train_and_evaluate(estimator, train_spec, eval_spec): # hidden_units=[1024, 512, 256]) # Input pipeline for train and evaluate. - def train_input_fn: # returns x, y + def train_input_fn(): # returns x, y # please shuffle the data. pass - def eval_input_fn_eval: # returns x, y + def eval_input_fn(): # returns x, y pass train_spec = tf.estimator.TrainSpec(input_fn=train_input_fn, max_steps=1000) |