Splits a seed into
n derived seeds.
seed, n=2, salt=None, name=None
Used in the notebooks
seed: The seed to split; may be an
(int, int) tuple, or a
int seeds are converted to
Tensor seeds using
tf.random.uniform stateful sampling. Tuples are converted to
n: The number of splits to return. In TensorFlow, if
n is an integer, this
function returns a list of seeds and otherwise returns a
seeds. In JAX, this function always returns an array of seeds.
str salt to mix with the seed.
name: Optional name to scope related ops.
n is a Python
tuple of seed values is returned. If
n is an int
Tensor, a single
Tensor of shape
[n, 2] is returned. A
single such seed is suitable to pass as the
seed argument of the