Skip to content

Commit

Permalink
fix jax failing tests (#2231)
Browse files Browse the repository at this point in the history
  • Loading branch information
divyashreepathihalli authored Dec 11, 2023
1 parent 467f19d commit 1f6bf4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras_cv/layers/regularization/drop_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class DropPath(keras.layers.Layer):
def __init__(self, rate=0.5, seed=None, **kwargs):
super().__init__(**kwargs)
self.rate = rate
self.seed = seed
self.seed = keras.random.SeedGenerator(seed=seed)

def call(self, x, training=None):
if self.rate == 0.0 or not training:
Expand Down

0 comments on commit 1f6bf4a

Please sign in to comment.