diff options
author | 2017-01-29 17:50:23 -0800 | |
---|---|---|
committer | 2017-01-29 18:08:20 -0800 | |
commit | cb45a7d952ee126efe43ef1b2c08fb3503e2f6bd (patch) | |
tree | 1501df0fa66f1419d0cf778be9d2cf5eb95773db /tensorflow/contrib/bayesflow | |
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/bayesflow')
-rw-r--r-- | tensorflow/contrib/bayesflow/__init__.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tensorflow/contrib/bayesflow/__init__.py b/tensorflow/contrib/bayesflow/__init__.py index 53dac35675..baa5748eb6 100644 --- a/tensorflow/contrib/bayesflow/__init__.py +++ b/tensorflow/contrib/bayesflow/__init__.py @@ -30,3 +30,13 @@ from tensorflow.contrib.bayesflow.python.ops import stochastic_tensor from tensorflow.contrib.bayesflow.python.ops import stochastic_variables from tensorflow.contrib.bayesflow.python.ops import variational_inference # pylint: enable=unused-import,line-too-long + +from tensorflow.python.util.all_util import remove_undocumented + + +_allowed_symbols = ['entropy', 'monte_carlo', + 'special_math', 'stochastic_gradient_estimators', + 'stochastic_graph', 'stochastic_tensor', + 'stochastic_variables', 'variational_inference'] + +remove_undocumented(__name__, _allowed_symbols) |