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

18 statements  

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

1# Copyright 2017 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"""Core module for TensorFlow distribution objects and helpers.""" 

16from tensorflow.python.util import deprecation 

17 

18 

19# pylint: disable=wildcard-import,unused-import,g-import-not-at-top 

20with deprecation.silence(): 

21 from tensorflow.python.ops.distributions.bernoulli import Bernoulli 

22 from tensorflow.python.ops.distributions.beta import Beta 

23 from tensorflow.python.ops.distributions.categorical import Categorical 

24 from tensorflow.python.ops.distributions.dirichlet import Dirichlet 

25 from tensorflow.python.ops.distributions.dirichlet_multinomial import DirichletMultinomial 

26 from tensorflow.python.ops.distributions.distribution import * 

27 from tensorflow.python.ops.distributions.exponential import Exponential 

28 from tensorflow.python.ops.distributions.gamma import Gamma 

29 from tensorflow.python.ops.distributions.kullback_leibler import * 

30 from tensorflow.python.ops.distributions.laplace import Laplace 

31 from tensorflow.python.ops.distributions.multinomial import Multinomial 

32 from tensorflow.python.ops.distributions.normal import Normal 

33 from tensorflow.python.ops.distributions.student_t import StudentT 

34 from tensorflow.python.ops.distributions.uniform import Uniform 

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

36del deprecation