aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/deprecated
diff options
context:
space:
mode:
authorGravatar Martin Wicke <wicke@google.com>2017-01-29 17:50:23 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-01-29 18:08:20 -0800
commitcb45a7d952ee126efe43ef1b2c08fb3503e2f6bd (patch)
tree1501df0fa66f1419d0cf778be9d2cf5eb95773db /tensorflow/contrib/deprecated
parent4148fd588de61020d81cf2018c2c7c334e05b568 (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/deprecated')
-rw-r--r--tensorflow/contrib/deprecated/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tensorflow/contrib/deprecated/__init__.py b/tensorflow/contrib/deprecated/__init__.py
index 2c94882cd7..befb8e6198 100644
--- a/tensorflow/contrib/deprecated/__init__.py
+++ b/tensorflow/contrib/deprecated/__init__.py
@@ -95,3 +95,10 @@ from tensorflow.python.ops.logging_ops import merge_all_summaries
from tensorflow.python.ops.logging_ops import merge_summary
from tensorflow.python.ops.logging_ops import scalar_summary
# pylint: enable=unused-import,line-too-long
+
+from tensorflow.python.util.all_util import remove_undocumented
+_allowed_symbols = ['audio_summary', 'histogram_summary',
+ 'image_summary', 'merge_all_summaries',
+ 'merge_summary', 'scalar_summary']
+
+remove_undocumented(__name__, _allowed_symbols)