Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for tf.contrib.losses -> tf.losses #15101

Merged
merged 1 commit into from
Dec 4, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions tensorflow/docs_src/extend/estimators.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ using `mean_squared_error()` (in bold):
loss = tf.losses.mean_squared_error(labels, predictions)</strong>
...</code></pre>

See the @{$python/contrib.losses$API guide} for a
See the @{tf.losses$API guide} for a
full list of loss functions and more details on supported arguments and usage.

Supplementary metrics for evaluation can be added to an `eval_metric_ops` dict.
Expand Down Expand Up @@ -694,5 +694,5 @@ For additional reference materials on building `Estimator`s, see the following
sections of the API guides:

* @{$python/contrib.layers$Layers}
* @{$python/contrib.losses$Losses}
* @{tf.losses$Losses}
* @{$python/contrib.layers#optimization$Optimization}