diff options
author | Martin Wicke <wicke@google.com> | 2017-01-29 17:50:23 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-01-29 18:08:20 -0800 |
commit | cb45a7d952ee126efe43ef1b2c08fb3503e2f6bd (patch) | |
tree | 1501df0fa66f1419d0cf778be9d2cf5eb95773db /tensorflow/contrib/input_pipeline | |
parent | 4148fd588de61020d81cf2018c2c7c334e05b568 (diff) |
Seal contrib interfaces (as much a feasible). If you were using a symbol which is now hidden, it should be added to the _allowed_symbols list in the appropriate __init__.py file.
Change: 145943844
Diffstat (limited to 'tensorflow/contrib/input_pipeline')
-rw-r--r-- | tensorflow/contrib/input_pipeline/BUILD | 2 | ||||
-rw-r--r-- | tensorflow/contrib/input_pipeline/__init__.py | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tensorflow/contrib/input_pipeline/BUILD b/tensorflow/contrib/input_pipeline/BUILD index 8eb8201f08..a6bca86389 100644 --- a/tensorflow/contrib/input_pipeline/BUILD +++ b/tensorflow/contrib/input_pipeline/BUILD @@ -52,7 +52,7 @@ tf_kernel_library( py_library( name = "input_pipeline_py", - srcs = glob(["python/ops/*.py"]), + srcs = glob(["python/ops/*.py"]) + ["__init__.py"], data = [":python/ops/_input_pipeline_ops.so"], srcs_version = "PY2AND3", deps = [ diff --git a/tensorflow/contrib/input_pipeline/__init__.py b/tensorflow/contrib/input_pipeline/__init__.py index d1219883c9..02fd4135bf 100644 --- a/tensorflow/contrib/input_pipeline/__init__.py +++ b/tensorflow/contrib/input_pipeline/__init__.py @@ -15,11 +15,12 @@ """Ops and modules related to input_pipeline. @@obtain_next - """ - from __future__ import absolute_import from __future__ import division from __future__ import print_function from tensorflow.contrib.input_pipeline.python.ops.input_pipeline_ops import obtain_next + +from tensorflow.python.util.all_util import remove_undocumented +remove_undocumented(__name__) |