diff options
author | 2018-08-01 04:24:28 +0900 | |
---|---|---|
committer | 2018-08-01 04:24:28 +0900 | |
commit | 04f5e25a545785fb7537d46f9dde960885a1a52c (patch) | |
tree | 7ea26c5fae949291150fbd0c6c5d8b598c74f35a /tensorflow/docs_src | |
parent | ccb4f10afbb5865bbc983a651e0041253f367311 (diff) |
fix the function name in the gide of custom estimator
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. |