Skip to content

Commit

Permalink
Improved documentation.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 203776243
  • Loading branch information
tensorflower-gardener committed Jul 9, 2018
1 parent fdcb7ca commit deee57e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorflow/python/estimator/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit deee57e

Please sign in to comment.