aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/estimator/model_fn.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/estimator/model_fn.py')
-rw-r--r--tensorflow/python/estimator/model_fn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/estimator/model_fn.py b/tensorflow/python/estimator/model_fn.py
index 9d0e2c3381..1a023c971f 100644
--- a/tensorflow/python/estimator/model_fn.py
+++ b/tensorflow/python/estimator/model_fn.py
@@ -78,7 +78,7 @@ class EstimatorSpec(
Depending on the value of `mode`, different arguments are required. Namely
* For `mode == ModeKeys.TRAIN`: required fields are `loss` and `train_op`.
- * For `mode == ModeKeys.EVAL`: required field is`loss`.
+ * For `mode == ModeKeys.EVAL`: required field is `loss`.
* For `mode == ModeKeys.PREDICT`: required fields are `predictions`.
model_fn can populate all arguments independent of mode. In this case, some