Skip to content

Commit 4c10aa4

Browse files
Googlertensorflower-gardener
Googler
authored andcommitted
Automated Code Change
PiperOrigin-RevId: 696486452
1 parent 5fa62e1 commit 4c10aa4

File tree

19 files changed

+0
-29
lines changed

19 files changed

+0
-29
lines changed

discussion/neutra/neutra_kernel_test.py

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# ============================================================================
1515
"""Tests NeuTra."""
1616

17-
# Dependency imports
1817
from absl.testing import parameterized
1918

2019
import tensorflow.compat.v1 as tf

spinoffs/inference_gym/inference_gym/targets/vectorized_stochastic_volatility_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
import functools
1616

17-
# Dependency imports
18-
1917
from absl import logging
2018
from absl.testing import parameterized
2119
import numpy as np

tensorflow_probability/examples/statistical_rethinking/rethinking/quap_test.py

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import collections
1818

19-
# Dependency imports
2019
from absl.testing import parameterized
2120

2221
import tensorflow.compat.v2 as tf

tensorflow_probability/python/debugging/benchmarking/benchmark_tf_function.py

-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
import pprint
2828
import time
2929

30-
# Dependency imports
31-
3230
import tensorflow.compat.v2 as tf
3331

3432
RUNTIME_EAGER = 'eager'

tensorflow_probability/python/experimental/distribute/sharded.py

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
# ============================================================================
1515
"""Distributions for distributed computations."""
1616

17-
# Dependency imports
18-
1917
import tensorflow.compat.v2 as tf
2018

2119
from tensorflow_probability.python.distributions import distribution as distribution_lib

tensorflow_probability/python/experimental/marginalize/marginalizable_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
import functools
2222
import itertools
2323

24-
# Dependency imports
25-
2624
import numpy as np
2725
import tensorflow.compat.v2 as tf
2826
from tensorflow_probability.python.distributions import bernoulli

tensorflow_probability/python/experimental/mcmc/internal/test_fixtures.py

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import collections
1818

19-
# Dependency imports
2019
import tensorflow.compat.v2 as tf
2120
from tensorflow_probability.python.experimental.mcmc import reducer
2221
from tensorflow_probability.python.mcmc import kernel

tensorflow_probability/python/experimental/nn/util/convolution_util_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
# ============================================================================
1515
"""Tests for batched convolutions."""
1616

17-
# Dependency imports
18-
1917
from absl.testing import parameterized
2018

2119
import numpy as np

tensorflow_probability/python/experimental/nn/util/kernel_bias_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
# ============================================================================
1515
"""Tests for kernel_bias."""
1616

17-
# Dependency imports
18-
1917
from tensorflow_probability.python.experimental.nn.util import kernel_bias
2018
from tensorflow_probability.python.internal import test_util
2119

tensorflow_probability/python/experimental/sequential/ensemble_adjustment_kalman_filter_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
"""Tests for the Ensemble Adjustment Kalman Filter."""
1616

1717

18-
# Dependency imports
19-
2018
import tensorflow.compat.v2 as tf
2119

2220
from tensorflow_probability.python.distributions import joint_distribution_named as jdn

tensorflow_probability/python/experimental/sequential/ensemble_kalman_filter_test.py

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import collections
1818

19-
# Dependency imports
2019
from absl.testing import parameterized
2120
import numpy as np
2221

tensorflow_probability/python/experimental/util/trainable.py

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import functools
1818

19-
# Dependency imports
2019
import tensorflow.compat.v2 as tf
2120

2221
from tensorflow_probability.python.internal import docstring_util

tensorflow_probability/python/internal/backend/jax/rewrite.py

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
# ============================================================================
1515
"""Rewrite script for NP->JAX."""
1616

17-
# Dependency imports
18-
1917
from absl import app
2018
from absl import flags
2119

tensorflow_probability/python/layers/internal/distribution_tensor_coercible_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
import gc
1616
import operator
1717

18-
# Dependency imports
19-
2018
from absl.testing import parameterized
2119
import numpy as np
2220
import tensorflow.compat.v1 as tf1

tensorflow_probability/python/math/ode/xla_test.py

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# ============================================================================
1515
"""XLA tests for TensorFlow Probability ODE solvers."""
1616

17-
# Dependency imports
1817
from absl import flags
1918
from absl.testing import parameterized
2019
import numpy as np

tensorflow_probability/python/math/psd_kernels/internal/util_test.py

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# ============================================================================
1515
"""Tests for Positive-Semidefinite Kernels utilities."""
1616

17-
# Dependency imports
1817
from absl.testing import parameterized
1918
import numpy as np
2019
import tensorflow.compat.v1 as tf1

tensorflow_probability/python/monte_carlo/expectation_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
# ============================================================================
1515
"""Tests for Monte Carlo Ops."""
1616

17-
# Dependency imports
18-
1917
import tensorflow.compat.v2 as tf
2018
from tensorflow_probability.python.distributions import bernoulli
2119
from tensorflow_probability.python.distributions import joint_distribution_named as jdn

tensorflow_probability/python/random/random_ops_test.py

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# ============================================================================
1515
"""Tests for generating random samples."""
1616

17-
# Dependency imports
1817
import numpy as np
1918

2019
import tensorflow.compat.v1 as tf1

tensorflow_probability/substrates/meta/rewrite.py

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import collections
1818

19-
# Dependency imports
2019
from absl import app
2120
from absl import flags
2221

0 commit comments

Comments
 (0)