# tensorplay.cuda.random.set_rng_state_all Source: https://www.tensorplay.cn/docs/generated/tensorplay.cuda.random.set_rng_state_all.html ```python tensorplay.cuda.random.set_rng_state_all(new_states: Iterable[Tensor]) → None ``` Set the random number generator state of all devices. Parameters: new_states (Iterable of ByteTensor) – The desired state for each device.