Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 696815613
  • Loading branch information
Googler authored and tensorflower-gardener committed Nov 15, 2024
1 parent b4f22a8 commit cc34ea9
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Tests for convolutional variational layers."""
# pylint: disable=g-import-not-at-top
# Dependency imports
try:
from keras.testing_infra import test_utils as keras_test_utils
except ImportError:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Tests for dense variational layers."""
# pylint: disable=g-import-not-at-top
# Dependency imports
try:
from keras.testing_infra import test_utils as keras_test_utils
except ImportError:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
"""Tests for tensorflow_probability.layers.DenseVariational."""

# Dependency imports

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

# Dependency imports
from cloudpickle import CloudPickler
import numpy as np
import six
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# ============================================================================
import functools

# Dependency imports

import numpy as np
import six
import tensorflow.compat.v1 as tf1
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/layers/initializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Keras initializers useful for TFP Keras layers."""

# Dependency imports
import numpy as np

import tensorflow.compat.v2 as tf
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/layers/initializers_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Tests for tensorflow_probability.layers Keras initializers."""

# Dependency imports
import numpy as np

from tensorflow_probability.python.internal import test_util
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""Layers for normalizing flows and masked autoregressive density estimation."""

# Dependency imports
import tensorflow.compat.v2 as tf

from tensorflow_probability.python.bijectors import masked_autoregressive as masked_autoregressive_lib
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.bijectors import masked_autoregressive as masked_autoregressive_lib
Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/layers/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import marshal
import os
import types
# Dependency imports
import numpy as np
import tensorflow.compat.v2 as tf

Expand Down
1 change: 0 additions & 1 deletion tensorflow_probability/python/layers/variable_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ============================================================================
"""VariableInputLayer."""

# Dependency imports
import numpy as np

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

import tempfile

# Dependency imports

from absl.testing import parameterized

import numpy as np
Expand Down

0 comments on commit cc34ea9

Please sign in to comment.