diff options
author | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-02 11:07:13 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-02 11:07:21 -0700 |
commit | 4238e0f19cbbaea96a2a37f432f97fda584189ba (patch) | |
tree | 98a30d9727c0ffc58c98564d8938e6d31a0ec211 /tensorflow/docs_src | |
parent | b42e59a82275a8a630c6f91621628a8c578f132d (diff) | |
parent | 04f5e25a545785fb7537d46f9dde960885a1a52c (diff) |
Merge pull request #21288 from sfujiwara:fix-custom-estimator-guide
PiperOrigin-RevId: 207129109
Diffstat (limited to 'tensorflow/docs_src')
-rw-r--r-- | tensorflow/docs_src/guide/custom_estimators.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/docs_src/guide/custom_estimators.md b/tensorflow/docs_src/guide/custom_estimators.md index a63e2bafb3..6e4ef2e0f2 100644 --- a/tensorflow/docs_src/guide/custom_estimators.md +++ b/tensorflow/docs_src/guide/custom_estimators.md @@ -149,7 +149,7 @@ model. This configuration step is similar to how we configured the @{tf.estimato ```python classifier = tf.estimator.Estimator( - model_fn=my_model, + model_fn=my_model_fn, params={ 'feature_columns': my_feature_columns, # Two hidden layers of 10 nodes each. @@ -474,7 +474,7 @@ Instantiate the custom Estimator through the Estimator base class as follows: ```python # Build 2 hidden layer DNN with 10, 10 units respectively. classifier = tf.estimator.Estimator( - model_fn=my_model, + model_fn=my_model_fn, params={ 'feature_columns': my_feature_columns, # Two hidden layers of 10 nodes each. |