Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 697703603
  • Loading branch information
Googler authored and tensorflower-gardener committed Nov 18, 2024
1 parent 6e061cd commit 94d967c
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 29 deletions.
2 changes: 0 additions & 2 deletions tensorflow_probability/python/mcmc/diagnostic_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for MCMC diagnostic utilities."""

# Dependency imports

import numpy as np
import tensorflow.compat.v1 as tf1
import tensorflow.compat.v2 as tf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
import collections
import functools

# 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/mcmc/eight_schools_hmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"""Shared library for `eight_schools_hmc_{graph,eager}_test.py`."""

import time
# 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/mcmc/hmc_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
import collections
import warnings

# Dependency imports

from absl import logging
from absl.testing import parameterized
import numpy as np
Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/mcmc/langevin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""Metropolis-adjusted Langevin algorithm, a gradient-based MCMC algorithm."""

import collections
# Dependency imports

import tensorflow.compat.v2 as tf

from tensorflow_probability.python.internal import distribute_lib
Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/mcmc/langevin_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for MetropolisAdjustedLangevinAlgorithm."""

# Dependency imports

import numpy as np
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.distributions import mvn_tril
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import collections
import warnings
# Dependency imports
import numpy as np

import tensorflow.compat.v2 as tf
Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/mcmc/random_walk_metropolis.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""Random Walk Metropolis (RWM) Transition Kernel."""

import collections
# Dependency imports

import tensorflow.compat.v2 as tf

from tensorflow_probability.python.internal import distribute_lib
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for RandomWalkMetropolis."""

# Dependency imports

import numpy as np
import tensorflow.compat.v1 as tf1
import tensorflow.compat.v2 as tf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"""Markov chain Monte Carlo driver, `sample_chain_annealed_importance_chain`."""

import collections
# 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 @@ -16,8 +16,6 @@

import collections

# Dependency imports

from absl.testing import parameterized
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 @@
# ============================================================================
"""Quasi Monte Carlo support: Halton sequence."""

# 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 sample_halton_sequence_lib.py."""

# Dependency imports

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

# 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 @@ -17,8 +17,6 @@
import collections
import functools

# Dependency imports

from absl.testing import parameterized
import numpy as np
import tensorflow.compat.v1 as tf1
Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/mcmc/slice_sampler_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""Slice sampler transition kernel."""

import collections
# Dependency imports

import tensorflow.compat.v2 as tf

from tensorflow_probability.python.internal import distribute_lib
Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/mcmc/transformed_kernel_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

import collections

# Dependency imports

import numpy as np
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.bijectors import chain as chain_lib
Expand Down

0 comments on commit 94d967c

Please sign in to comment.