diff options
author | Anna R <annarev@google.com> | 2018-04-25 11:52:08 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-04-25 11:57:31 -0700 |
commit | fe965a8502c1a6667ab209dfbfd8b84a6bfb45ee (patch) | |
tree | bbd63ad0f2c9ffecac40b914bc5de8014623b652 /tensorflow/python/saved_model | |
parent | 3563165fb8328fd0fd6eba88557c25209453339f (diff) |
Removing remove_undocumented calls from tensorflow/python.
PiperOrigin-RevId: 194274698
Diffstat (limited to 'tensorflow/python/saved_model')
-rw-r--r-- | tensorflow/python/saved_model/builder.py | 7 | ||||
-rw-r--r-- | tensorflow/python/saved_model/constants.py | 15 | ||||
-rw-r--r-- | tensorflow/python/saved_model/loader.py | 8 | ||||
-rw-r--r-- | tensorflow/python/saved_model/main_op.py | 7 | ||||
-rw-r--r-- | tensorflow/python/saved_model/saved_model.py | 15 | ||||
-rw-r--r-- | tensorflow/python/saved_model/signature_constants.py | 17 | ||||
-rw-r--r-- | tensorflow/python/saved_model/tag_constants.py | 9 | ||||
-rw-r--r-- | tensorflow/python/saved_model/utils.py | 4 |
8 files changed, 0 insertions, 82 deletions
diff --git a/tensorflow/python/saved_model/builder.py b/tensorflow/python/saved_model/builder.py index 766b0a3579..be49c70c60 100644 --- a/tensorflow/python/saved_model/builder.py +++ b/tensorflow/python/saved_model/builder.py @@ -26,10 +26,3 @@ from __future__ import print_function # pylint: disable=unused-import from tensorflow.python.saved_model.builder_impl import SavedModelBuilder # pylint: enable=unused-import -from tensorflow.python.util.all_util import remove_undocumented - - -_allowed_symbols = [ - "SavedModelBuilder", -] -remove_undocumented(__name__, _allowed_symbols) diff --git a/tensorflow/python/saved_model/constants.py b/tensorflow/python/saved_model/constants.py index ec49a0539f..34206c6f6d 100644 --- a/tensorflow/python/saved_model/constants.py +++ b/tensorflow/python/saved_model/constants.py @@ -19,7 +19,6 @@ from __future__ import absolute_import from __future__ import division from __future__ import print_function -from tensorflow.python.util.all_util import remove_undocumented from tensorflow.python.util.tf_export import tf_export # Subdirectory name containing the asset files. @@ -66,17 +65,3 @@ tf_export("saved_model.constants.VARIABLES_DIRECTORY").export_constant( VARIABLES_FILENAME = "variables" tf_export("saved_model.constants.VARIABLES_FILENAME").export_constant( __name__, "VARIABLES_FILENAME") - - -_allowed_symbols = [ - "ASSETS_DIRECTORY", - "ASSETS_KEY", - "LEGACY_INIT_OP_KEY", - "MAIN_OP_KEY", - "SAVED_MODEL_SCHEMA_VERSION", - "SAVED_MODEL_FILENAME_PB", - "SAVED_MODEL_FILENAME_PBTXT", - "VARIABLES_DIRECTORY", - "VARIABLES_FILENAME", -] -remove_undocumented(__name__, _allowed_symbols) diff --git a/tensorflow/python/saved_model/loader.py b/tensorflow/python/saved_model/loader.py index 0a7f516287..334298c232 100644 --- a/tensorflow/python/saved_model/loader.py +++ b/tensorflow/python/saved_model/loader.py @@ -67,11 +67,3 @@ from __future__ import print_function from tensorflow.python.saved_model.loader_impl import load from tensorflow.python.saved_model.loader_impl import maybe_saved_model_directory # pylint: enable=unused-import -from tensorflow.python.util.all_util import remove_undocumented - - -_allowed_symbols = [ - "load", - "maybe_saved_model_directory", -] -remove_undocumented(__name__, _allowed_symbols) diff --git a/tensorflow/python/saved_model/main_op.py b/tensorflow/python/saved_model/main_op.py index 04cadeab66..18d11b900c 100644 --- a/tensorflow/python/saved_model/main_op.py +++ b/tensorflow/python/saved_model/main_op.py @@ -26,10 +26,3 @@ from __future__ import print_function from tensorflow.python.saved_model.main_op_impl import main_op from tensorflow.python.saved_model.main_op_impl import main_op_with_restore # pylint: enable=unused-import -from tensorflow.python.util.all_util import remove_undocumented - -_allowed_symbols = [ - "main_op", - "main_op_with_restore", -] -remove_undocumented(__name__, _allowed_symbols) diff --git a/tensorflow/python/saved_model/saved_model.py b/tensorflow/python/saved_model/saved_model.py index caabd7bc30..6702c99607 100644 --- a/tensorflow/python/saved_model/saved_model.py +++ b/tensorflow/python/saved_model/saved_model.py @@ -34,18 +34,3 @@ from tensorflow.python.saved_model import utils from tensorflow.python.saved_model.simple_save import * # pylint: enable=wildcard-import -from tensorflow.python.util.all_util import remove_undocumented - - -_allowed_symbols = [ - "builder", - "constants", - "loader", - "main_op", - "signature_constants", - "signature_def_utils", - "simple_save", - "tag_constants", - "utils", -] -remove_undocumented(__name__, _allowed_symbols) diff --git a/tensorflow/python/saved_model/signature_constants.py b/tensorflow/python/saved_model/signature_constants.py index 6461fe8a7e..819f351291 100644 --- a/tensorflow/python/saved_model/signature_constants.py +++ b/tensorflow/python/saved_model/signature_constants.py @@ -19,7 +19,6 @@ from __future__ import absolute_import from __future__ import division from __future__ import print_function -from tensorflow.python.util.all_util import remove_undocumented from tensorflow.python.util.tf_export import tf_export @@ -95,19 +94,3 @@ tf_export("saved_model.signature_constants.REGRESS_OUTPUTS").export_constant( __name__, "REGRESS_OUTPUTS") ################################################################################ - - -_allowed_symbols = [ - "DEFAULT_SERVING_SIGNATURE_DEF_KEY", - "CLASSIFY_INPUTS", - "CLASSIFY_METHOD_NAME", - "CLASSIFY_OUTPUT_CLASSES", - "CLASSIFY_OUTPUT_SCORES", - "PREDICT_INPUTS", - "PREDICT_METHOD_NAME", - "PREDICT_OUTPUTS", - "REGRESS_INPUTS", - "REGRESS_METHOD_NAME", - "REGRESS_OUTPUTS", -] -remove_undocumented(__name__, _allowed_symbols) diff --git a/tensorflow/python/saved_model/tag_constants.py b/tensorflow/python/saved_model/tag_constants.py index d164e2c23f..5a797da791 100644 --- a/tensorflow/python/saved_model/tag_constants.py +++ b/tensorflow/python/saved_model/tag_constants.py @@ -19,7 +19,6 @@ from __future__ import absolute_import from __future__ import division from __future__ import print_function -from tensorflow.python.util.all_util import remove_undocumented from tensorflow.python.util.tf_export import tf_export @@ -40,11 +39,3 @@ tf_export("saved_model.tag_constants.GPU").export_constant(__name__, "GPU") # Tag for the `tpu` graph. TPU = "tpu" tf_export("saved_model.tag_constants.TPU").export_constant(__name__, "TPU") - -_allowed_symbols = [ - "SERVING", - "TRAINING", - "GPU", - "TPU" -] -remove_undocumented(__name__, _allowed_symbols) diff --git a/tensorflow/python/saved_model/utils.py b/tensorflow/python/saved_model/utils.py index 8e750d8708..27c3554909 100644 --- a/tensorflow/python/saved_model/utils.py +++ b/tensorflow/python/saved_model/utils.py @@ -24,7 +24,3 @@ from __future__ import print_function from tensorflow.python.saved_model.utils_impl import build_tensor_info from tensorflow.python.saved_model.utils_impl import get_tensor_from_tensor_info # pylint: enable=unused-import -from tensorflow.python.util.all_util import remove_undocumented - -_allowed_symbols = ["build_tensor_info", "get_tensor_from_tensor_info"] -remove_undocumented(__name__, _allowed_symbols) |