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/nn | |
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/nn')
-rw-r--r-- | tensorflow/contrib/nn/__init__.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tensorflow/contrib/nn/__init__.py b/tensorflow/contrib/nn/__init__.py index c2fe913b59..73757a6696 100644 --- a/tensorflow/contrib/nn/__init__.py +++ b/tensorflow/contrib/nn/__init__.py @@ -12,7 +12,12 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== -"""Module for deprecated ops in tf.nn.""" +"""Module for deprecated ops in tf.nn. + +@@deprecated_flipped_softmax_cross_entropy_with_logits +@@deprecated_flipped_sparse_softmax_cross_entropy_with_logits +@@deprecated_flipped_sigmoid_cross_entropy_with_logits +""" from __future__ import absolute_import from __future__ import division @@ -21,3 +26,6 @@ from __future__ import print_function # pylint: disable=unused-import,wildcard-import from tensorflow.contrib.nn.python.ops.cross_entropy import * # pylint: enable=unused-import,wildcard-import + +from tensorflow.python.util.all_util import remove_undocumented +remove_undocumented(__name__) |