1 # Copyright 2015 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 16 # pylint: disable=unused-import,g-bad-import-order 17 """Neural network support. 18 19 See the [Neural network](https://tensorflow.org/api_guides/python/nn) guide. 20 """ 21 from __future__ import absolute_import 22 from __future__ import division 23 from __future__ import print_function 24 25 import sys as _sys 26 27 # pylint: disable=unused-import 28 from tensorflow.python.ops import ctc_ops as _ctc_ops 29 from tensorflow.python.ops import embedding_ops as _embedding_ops 30 from tensorflow.python.ops import nn_grad as _nn_grad 31 from tensorflow.python.ops import nn_ops as _nn_ops 32 from tensorflow.python.ops.math_ops import sigmoid 33 from tensorflow.python.ops.math_ops import tanh 34 # pylint: enable=unused-import 35 36 # Bring more nn-associated functionality into this package. 37 # go/tf-wildcard-import 38 # pylint: disable=wildcard-import,unused-import 39 from tensorflow.python.ops.ctc_ops import * 40 from tensorflow.python.ops.nn_impl import * 41 from tensorflow.python.ops.nn_ops import * 42 from tensorflow.python.ops.candidate_sampling_ops import * 43 from tensorflow.python.ops.embedding_ops import * 44 # pylint: enable=wildcard-import,unused-import 45