aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/estimator
diff options
context:
space:
mode:
authorGravatar Karmel Allison <karmel@google.com>2018-09-24 13:57:16 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-24 14:02:35 -0700
commit7af35581b64b7811b2e70f672d1e824886eac16f (patch)
tree11908f138923f769f01f52d04bcde5fe9d0acc6b /tensorflow/python/estimator
parentcb926e1ed73d6d8f7158cdabf5c4265a921a407b (diff)
Fixes typo in docstring to correctly name the new Estimator method export_saved_model
PiperOrigin-RevId: 214325271
Diffstat (limited to 'tensorflow/python/estimator')
-rw-r--r--tensorflow/python/estimator/estimator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/estimator/estimator.py b/tensorflow/python/estimator/estimator.py
index 2dc5d099a0..eec64ad452 100644
--- a/tensorflow/python/estimator/estimator.py
+++ b/tensorflow/python/estimator/estimator.py
@@ -614,7 +614,7 @@ class Estimator(object):
# pylint: disable=line-too-long,g-doc-args,g-doc-return-or-yield
"""Exports inference graph as a `SavedModel` into the given dir.
- Note that `export_to_savedmodel` will be renamed to `export_to_saved_model`
+ Note that `export_to_savedmodel` will be renamed to `export_saved_model`
in TensorFlow 2.0. At that time, `export_to_savedmodel` without the
additional underscore will be available only through tf.compat.v1.
@@ -699,7 +699,7 @@ class Estimator(object):
"""
# pylint: enable=line-too-long
# TODO(b/111442174): `export_to_savedmodel` will be renamed to
- # `export_to_saved_model` in TensorFlow 2.0. This function is a wrapper
+ # `export_saved_model` in TensorFlow 2.0. This function is a wrapper
# while staging the new version; do not add any logic here.
return self.export_savedmodel(
export_dir_base,