Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 702407293
  • Loading branch information
Googler authored and tensorflower-gardener committed Dec 3, 2024
1 parent fadd403 commit 29f1803
Show file tree
Hide file tree
Showing 166 changed files with 0 additions and 214 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

import warnings

# Dependency imports

import numpy as np
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.bijectors import masked_autoregressive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Batch broadcasting meta-distribuion."""

# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.bijectors import bijector as bijector_lib
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for BatchBroadcast."""

# Dependency imports

import hypothesis as hp
import hypothesis.strategies as hps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"""The BatchConcat distribution."""

import functools
# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for BatchConcat."""

# Dependency imports

from absl.testing import parameterized

import tensorflow.compat.v1 as tf1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""The BatchReshape distribution."""

# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for BatchReshape."""

# Dependency imports

import numpy as np
import tensorflow.compat.v1 as tf1
import tensorflow.compat.v2 as tf
Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/distributions/bates.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

import sys

# Dependency imports

import numpy as np
import tensorflow.compat.v2 as tf

Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/bates_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import math
import sys

# Dependency imports
from absl.testing import parameterized
import hypothesis as hp
import hypothesis.strategies as hps
Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/distributions/bernoulli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for the Bernoulli distribution."""

# Dependency imports

import numpy as np
from scipy import special as sp_special
import tensorflow.compat.v1 as tf1
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/beta.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""The Beta distribution class."""

# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""The BetaBinomial distribution class."""

# Dependency imports
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.bijectors import softplus as softplus_bijector
from tensorflow_probability.python.distributions import binomial
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
# Dependency imports
import numpy as np

import tensorflow.compat.v1 as tf1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""The BetaQuotient distribution class."""

# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.
# ============================================================================

# Dependency imports
import numpy as np
from scipy import special as sp_special
from scipy import stats as sp_stats
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/beta_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.
# ============================================================================

# Dependency imports
from absl.testing import parameterized
import numpy as np
from scipy import special as sp_special
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/binomial.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.
# ============================================================================
"""The Binomial distribution class."""
# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.bijectors import sigmoid as sigmoid_bijector
Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/distributions/binomial_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
# Dependency imports

import numpy as np
from scipy import stats
import tensorflow.compat.v1 as tf1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Tests for Categorical distribution."""

# Dependency imports
from absl.testing import parameterized
import numpy as np

Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/cauchy.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""The Cauchy distribution class."""

# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf

Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/cauchy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Tests for Cauchy."""

# Dependency imports
import numpy as np
from scipy import stats as sp_stats

Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/chi2_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Tests for initializers."""

# Dependency imports
import numpy as np
from scipy import special
from scipy import stats
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/chi_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Tests for Chi distribution."""

# Dependency imports
import numpy as np
from scipy import special
from scipy import stats
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""CholeskyLKJ distribution class."""

# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Tests for the Cholesky LKJ distribution."""

# Dependency imports
from absl.testing import parameterized
import numpy as np
import tensorflow.compat.v2 as tf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
# Dependency imports

import tensorflow.compat.v2 as tf

from tensorflow_probability.python.distributions import cholesky_util
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""The continuous Bernoulli distribution class."""

# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.bijectors import sigmoid as sigmoid_bijector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for the continuous Bernoulli distribution."""

# Dependency imports

import numpy as np
from scipy import special as sp_special
import tensorflow.compat.v1 as tf1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import abc

# Dependency imports
import six
import tensorflow.compat.v2 as tf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
# Dependency imports
from absl.testing import parameterized
import numpy as np
import tensorflow.compat.v1 as tf1
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/dirichlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""The Dirichlet distribution class."""

# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.bijectors import softmax_centered as softmax_centered_bijector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
# Dependency imports
import numpy as np

import tensorflow.compat.v1 as tf1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.
# ============================================================================

# Dependency imports
from absl.testing import parameterized
import numpy as np
from scipy import special as sp_special
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for discrete rejection sampling utilities."""

# Dependency imports

import numpy as np
from scipy import stats
import tensorflow.compat.v2 as tf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
# limitations under the License.
# ============================================================================
import collections
# Dependency imports

from absl import logging
from absl.testing import parameterized

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Tests for the Empirical distribution."""

# Dependency imports
from absl.testing import parameterized
import numpy as np
import tensorflow.compat.v1 as tf1
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/exp_gamma.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""The ExpGamma distribution class."""

# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.bijectors import identity as identity_bijector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
# Dependency imports
from absl.testing import parameterized
import numpy as np
from scipy import misc as sp_misc
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/exponential.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""The Exponential distribution class."""

# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"""Tests for initializers."""


# Dependency imports
import numpy as np
from scipy import stats as sp_stats

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""The exponentially modified Gaussian distribution class."""

# Dependency imports

import tensorflow.compat.v2 as tf
from tensorflow_probability.python.bijectors import identity as identity_bijector
from tensorflow_probability.python.bijectors import softplus as softplus_bijector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

import math

# Dependency imports

import numpy as np
from scipy import stats as sp_stats
import tensorflow.compat.v2 as tf
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/gamma.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""The Gamma distribution class."""

# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf

Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/gamma_gamma.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""The GammaGamma distribution class."""

# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
# Dependency imports

import numpy as np
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.distributions import gamma_gamma
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/distributions/gamma_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

import functools

# Dependency imports
from absl.testing import parameterized
import numpy as np
from scipy import misc as sp_misc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import functools

# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""The GaussianProcessRegressionModel distribution class."""

# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.bijectors import softplus as softplus_bijector
Expand Down
Loading

0 comments on commit 29f1803

Please sign in to comment.