Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow/python/ops/nn.py: 100%

13 statements  

« prev     ^ index     » next       coverage.py v7.4.0, created at 2024-01-03 07:57 +0000

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 

19See the [Neural network](https://tensorflow.org/api_guides/python/nn) guide. 

20""" 

21import sys as _sys 

22 

23# pylint: disable=unused-import 

24from tensorflow.python.ops import ctc_ops as _ctc_ops 

25from tensorflow.python.ops import embedding_ops as _embedding_ops 

26from tensorflow.python.ops import nn_grad as _nn_grad 

27from tensorflow.python.ops import nn_ops as _nn_ops 

28from tensorflow.python.ops.math_ops import sigmoid 

29from tensorflow.python.ops.math_ops import tanh 

30# pylint: enable=unused-import 

31 

32# Bring more nn-associated functionality into this package. 

33# go/tf-wildcard-import 

34# pylint: disable=wildcard-import,unused-import 

35from tensorflow.python.ops.ctc_ops import * 

36from tensorflow.python.ops.nn_impl import * 

37from tensorflow.python.ops.nn_ops import * 

38from tensorflow.python.ops.candidate_sampling_ops import * 

39from tensorflow.python.ops.embedding_ops import * 

40# pylint: enable=wildcard-import,unused-import