TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

tensorplay.cuda.random.set_rng_state_all

tensorplay.cuda.random.set_rng_state_all(new_states: Iterable[Tensor]) → None[source]

Set the random number generator state of all devices.

Parameters:

new_states (Iterable of ByteTensor) – The desired state for each device.

On this page

Ask DeepWiki