Home | History | Annotate | Download | only in nn
      1 # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
      4 # you may not use this file except in compliance with the License.
      5 # You may obtain a copy of the License at
      6 #
      7 #     http://www.apache.org/licenses/LICENSE-2.0
      8 #
      9 # Unless required by applicable law or agreed to in writing, software
     10 # distributed under the License is distributed on an "AS IS" BASIS,
     11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
     14 # ==============================================================================
     15 """Module for variants of ops in tf.nn.
     16 
     17 @@alpha_dropout
     18 @@conv1d_transpose
     19 @@deprecated_flipped_softmax_cross_entropy_with_logits
     20 @@deprecated_flipped_sparse_softmax_cross_entropy_with_logits
     21 @@deprecated_flipped_sigmoid_cross_entropy_with_logits
     22 @@nth_element
     23 @@rank_sampled_softmax_loss
     24 @@sampled_sparse_softmax_loss
     25 @@scaled_softplus
     26 """
     27 
     28 from __future__ import absolute_import
     29 from __future__ import division
     30 from __future__ import print_function
     31 
     32 # pylint: disable=unused-import,wildcard-import
     33 from tensorflow.contrib.nn.python.ops.alpha_dropout import *
     34 from tensorflow.contrib.nn.python.ops.cross_entropy import *
     35 from tensorflow.contrib.nn.python.ops.sampling_ops import *
     36 from tensorflow.contrib.nn.python.ops.scaled_softplus import *
     37 from tensorflow.python.ops.nn_ops import conv1d_transpose
     38 from tensorflow.python.ops.nn_ops import nth_element
     39 # pylint: enable=unused-import,wildcard-import
     40 
     41 from tensorflow.python.util.all_util import remove_undocumented
     42 remove_undocumented(__name__)
     43