Skip to content

Commit

Permalink
Replace ModelFnOps with EstimatorSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
terrytangyuan authored Jun 25, 2017
1 parent c128963 commit 22b786c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/docs_src/extend/estimators.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22b786c

Please sign in to comment.