random_shuffle {keras3} | R Documentation |
Shuffle the elements of a tensor uniformly at random along an axis.
Description
Shuffle the elements of a tensor uniformly at random along an axis.
Usage
random_shuffle(x, axis = 1L, seed = NULL)
Arguments
x |
The tensor to be shuffled. |
axis |
An integer specifying the axis along which to shuffle. Defaults to
|
seed |
An R integer or instance of
|
Value
A tensor, a copy of x
with the axis
axis shuffled.
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()