Outputs the position of value
in a permutation of [0, ..., max_index].
tf.random_index_shuffle(
index: _atypes.TensorFuzzingAnnotation[TV_RandomIndexShuffle_dtype],
seed: _atypes.TensorFuzzingAnnotation[TV_RandomIndexShuffle_Tseed],
max_index: _atypes.TensorFuzzingAnnotation[TV_RandomIndexShuffle_dtype],
rounds: int = 4,
name=None
) -> _atypes.TensorFuzzingAnnotation[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 .
|