# Shuffle the elements of a tensor uniformly at random along an axis.

Source:`R/random.R`

`random_shuffle.Rd`

Shuffle the elements of a tensor uniformly at random along an axis.

## Arguments

- x
The tensor to be shuffled.

- axis
An integer specifying the axis along which to shuffle. Defaults to

`0`

.- seed
An R integer or instance of

`random_seed_generator()`

. Used to make the behavior of the initializer deterministic. Note that an initializer seeded with an integer or`NULL`

(unseeded) will produce the same random values across multiple calls. To get different random values across multiple calls, use as seed an instance of`random_seed_generator()`

.

## See also

Other random: `random_beta()`

`random_binomial()`

`random_categorical()`

`random_dropout()`

`random_gamma()`

`random_integer()`

`random_normal()`

`random_seed_generator()`

`random_truncated_normal()`

`random_uniform()`