From 22b786c96f5bbc3e6c3d776ec5cfa0d4874140f3 Mon Sep 17 00:00:00 2001 From: "Yuan (Terry) Tang" Date: Sun, 25 Jun 2017 18:15:22 -0400 Subject: [PATCH] Replace ModelFnOps with EstimatorSpec --- tensorflow/docs_src/extend/estimators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/docs_src/extend/estimators.md b/tensorflow/docs_src/extend/estimators.md index cb0e003b29be27..500beb49a2e058 100644 --- a/tensorflow/docs_src/extend/estimators.md +++ b/tensorflow/docs_src/extend/estimators.md @@ -558,7 +558,7 @@ For a full list of optimizers, and other details, see the Here's the final, complete `model_fn` for the abalone age predictor. The following code configures the neural network; defines loss and the training op; -and returns a `ModelFnOps` object containing `mode`, `predictions_dict`, `loss`, +and returns a `EstimatorSpec` object containing `mode`, `predictions_dict`, `loss`, and `train_op`: ```python