Outputs the position of value in a permutation of [0, ..., max_index].
tf.random_index_shuffle(
index: Annotated[Any, TV_RandomIndexShuffle_dtype],
seed: Annotated[Any, TV_RandomIndexShuffle_Tseed],
max_index: Annotated[Any, TV_RandomIndexShuffle_dtype],
rounds: int = 4,
name=None
) -> Annotated[Any, TV_RandomIndexShuffle_dtype]
Output values are a bijection of the index for any combination and seed and max_index.
If multiple inputs are vectors (matrix in case of seed) then the size of the first dimension must match.
The outputs are deterministic.
Returns | |
|---|---|
A Tensor. Has the same type as index.
|