Fixes typo in docstring to correctly name the new Estimator method export_saved_model

PiperOrigin-RevId: 214325271
This commit is contained in:
Karmel Allison 2018-09-24 13:57:16 -07:00 committed by TensorFlower Gardener
parent cb926e1ed7
commit 7af35581b6

View File

@ -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,