aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/nn
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-07-12 14:18:25 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-07-12 14:22:57 -0700
commit8e7f5737168853fc28a85dab0d3792520249e541 (patch)
tree8a25df06d9d70f483cb6b14a6d3b8e9639f86615 /tensorflow/contrib/nn
parente424d209a7b1338b59bc39cd82b03ea9e8c5a646 (diff)
Expose tf.contrib.nn.rank_sampled_softmax_loss.
PiperOrigin-RevId: 161716450
Diffstat (limited to 'tensorflow/contrib/nn')
-rw-r--r--tensorflow/contrib/nn/__init__.py3
-rw-r--r--tensorflow/contrib/nn/python/__init__.py2
-rw-r--r--tensorflow/contrib/nn/python/ops/__init__.py3
3 files changed, 4 insertions, 4 deletions
diff --git a/tensorflow/contrib/nn/__init__.py b/tensorflow/contrib/nn/__init__.py
index 73757a6696..e7116d78e2 100644
--- a/tensorflow/contrib/nn/__init__.py
+++ b/tensorflow/contrib/nn/__init__.py
@@ -12,11 +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 variants of 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
+@@rank_sampled_softmax_loss
"""
from __future__ import absolute_import
diff --git a/tensorflow/contrib/nn/python/__init__.py b/tensorflow/contrib/nn/python/__init__.py
index 285c094ca7..73dd4d4015 100644
--- a/tensorflow/contrib/nn/python/__init__.py
+++ b/tensorflow/contrib/nn/python/__init__.py
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
-"""Module for deprecated ops in tf.nn."""
+"""Module for variants of ops in tf.nn."""
from __future__ import absolute_import
from __future__ import division
diff --git a/tensorflow/contrib/nn/python/ops/__init__.py b/tensorflow/contrib/nn/python/ops/__init__.py
index a945bcdccf..73dd4d4015 100644
--- a/tensorflow/contrib/nn/python/ops/__init__.py
+++ b/tensorflow/contrib/nn/python/ops/__init__.py
@@ -12,9 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
-"""Module for deprecated ops in tf.nn."""
+"""Module for variants of ops in tf.nn."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
-