Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 697566144
  • Loading branch information
Googler authored and tensorflower-gardener committed Nov 18, 2024
1 parent cc34ea9 commit 6e061cd
Show file tree
Hide file tree
Showing 34 changed files with 0 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import collections

# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.experimental.mcmc import reducer as reducer_base
Expand Down
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
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.v2 as tf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""Elliptic Slice sampler transition kernel."""

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,7 +16,6 @@

import collections

# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.experimental.mcmc import reducer as reducer_base
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import collections

# Dependency imports
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.distributions import normal
from tensorflow_probability.python.experimental.mcmc import expectations_reducer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""MCMC initializations."""

# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.bijectors import bijector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""MCMC initialization tests."""

# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.bijectors import exp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Convenience wrapper around step_kernel outputs."""

# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.experimental.mcmc import tracing_reducer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import collections
import functools

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

import itertools

# 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 @@
# ============================================================================
"""Tests of the No U-Turn Sampler."""

# Dependency imports
from absl import flags
import numpy as np
import tensorflow.compat.v1 as tf
Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/experimental/mcmc/pnuts_test.py
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 @@ -16,7 +16,6 @@

import collections

# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.experimental.mcmc import reducer as reducer_base
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for PotentialScaleReductionReducer."""

# 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 @@
"""Hamiltonian Monte Carlo, a gradient-based MCMC algorithm."""

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

from tensorflow_probability.python.experimental.mcmc import preconditioning_utils as pu
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 tensorflow.compat.v2 as tf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""`ProgressBarReducer` for showing progress bars."""

# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.experimental.mcmc import reducer as reducer_base
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for ProgressBarReducer."""

# Dependency imports

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

import collections
import warnings
# Dependency imports

import tensorflow.compat.v2 as tf
from tensorflow_probability.python.experimental.mcmc import sample as exp_sample_lib
from tensorflow_probability.python.experimental.mcmc import tracing_reducer
Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/experimental/mcmc/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

import collections
import warnings
# Dependency imports

import tensorflow.compat.v2 as tf
from tensorflow_probability.python.experimental.mcmc import step
from tensorflow_probability.python.experimental.mcmc import tracing_reducer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import collections

# Dependency imports
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.experimental.mcmc import step
from tensorflow_probability.python.internal import prefer_static as ps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Tests for SampleDiscardingKernel TransitionKernel (thinning and burn-in)."""

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

import warnings

# Dependency imports
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.experimental.mcmc import sample
from tensorflow_probability.python.experimental.mcmc import sample_discarding_kernel
Expand Down
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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import functools

# Dependency imports
from absl.testing import parameterized

import numpy as np
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for high(er) level drivers for streaming MCMC."""

# Dependency imports

from tensorflow_probability.python.experimental.mcmc import sample
from tensorflow_probability.python.experimental.mcmc.internal import test_fixtures
from tensorflow_probability.python.internal import samplers
Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/experimental/mcmc/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""Drivers for streaming reductions framework."""

import warnings
# Dependency imports

import tensorflow.compat.v2 as tf
from tensorflow_probability.python.internal import loop_util
from tensorflow_probability.python.internal import prefer_static as ps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import collections
import warnings

# 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 thermodynamic integrals."""

# 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 ThinningKernel TransitionKernel."""

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

import collections

# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.experimental.mcmc import reducer as reducer_base
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for TracingReducer."""

# Dependency imports

import tensorflow.compat.v2 as tf
from tensorflow_probability.python.experimental.mcmc import tracing_reducer
from tensorflow_probability.python.experimental.mcmc.internal import test_fixtures
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Tests for tfp.experimental.mcmc.WithReductions TransitionKernel."""

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

Expand Down

0 comments on commit 6e061cd

Please sign in to comment.