dpnp.random.Generator.spawn

method

Generator.spawn(n_children)[source]

Create new independent child generators on the same SYCL queue.

For full documentation refer to numpy.random.Generator.spawn.

Parameters:
n_childrenint

The number of children to create.

Returns:
outlist of Generator

The child generators.

Raises:
TypeError

When the underlying seed sequence does not implement spawning, as when key is given to dpnp.random.Philox4x3210.