Skip to content

Commit

Permalink
Fix CI I guess
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Dec 11, 2024
1 parent 95b4383 commit e12ae46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keras/src/backend/tensorflow/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def dropout(inputs, rate, noise_shape=None, seed=None):


def shuffle(x, axis=0, seed=None):
seed = _cast_seed(draw_seed(seed))
indices = tf.argsort(
tf.random.stateless_uniform(shape=[tf.shape(x)[axis]], seed=seed)
)
Expand Down

0 comments on commit e12ae46

Please sign in to comment.