Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 697707281
  • Loading branch information
Googler authored and tensorflower-gardener committed Nov 18, 2024
1 parent 95aa519 commit f9d6e9c
Show file tree
Hide file tree
Showing 23 changed files with 0 additions and 32 deletions.
1 change: 0 additions & 1 deletion tensorflow_probability/python/internal/assert_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""TF assertions."""

# 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 batch_shape."""

# Dependency imports

from absl import logging
from absl.testing import parameterized
import mock
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/internal/cache_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import collections
import weakref

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

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

# Dependency imports

from absl.testing import parameterized
import tensorflow.compat.v2 as tf

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

# 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 distribution_utility functions."""

# Dependency imports
import numpy as np

import tensorflow.compat.v1 as tf1
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/internal/dtype_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Utility functions for dtypes."""

# Dependency imports
import numpy as np

import tensorflow.compat.v2 as tf
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/internal/dtype_util_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import dataclasses

# 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 @@ -20,7 +20,6 @@
import traceback
import unittest

# Dependency imports
import hypothesis as hp
from hypothesis.extra import numpy as hpnp
import hypothesis.strategies as hps
Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/internal/loop_util_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

import collections

# 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/internal/nest_util_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.v2 as tf
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/internal/numerics_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import functools

# Dependency imports
from absl import logging
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 @@
# ============================================================================
"""Testing the numerics testing utilities."""

# Dependency imports
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.internal import numerics_testing as nt
from tensorflow_probability.python.internal import test_util
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/internal/prefer_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Operations that use static values when possible."""

# Dependency imports
import decorator
import numpy as np

Expand Down
2 changes: 0 additions & 2 deletions tensorflow_probability/python/internal/samplers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
import hashlib
import warnings

# Dependency imports

import numpy as np
import six

Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/internal/special_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@

"""Special Math Ops."""

# 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 numpy as np
from scipy import special as sp_special
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 @@
# ============================================================================
"""Tests for structural_tuple."""

# Dependency imports

import tensorflow.compat.v2 as tf

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

# 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 tensorshape_util."""

# 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 @@ -47,7 +47,6 @@ def testOptimizer(self, optimizer):
import types
import unittest

# Dependency imports
from absl.testing import parameterized
import six

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

from collections import OrderedDict

# Dependency imports
from tensorflow_probability.python.internal import test_combinations
from tensorflow_probability.python.internal import test_util

Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/internal/test_util_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import collections

# Dependency imports
from absl import flags
from absl.testing import flagsaver
from absl.testing import parameterized
Expand Down

0 comments on commit f9d6e9c

Please sign in to comment.