API symbolscudaCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok tensorplay.cuda.random.set_rng_state_all tensorplay.cuda.random.set_rng_state_all(new_states: Iterable[TensorBase]) → None[source] Set the random number generator state of all devices. Parameters: new_states (Iterable of ByteTensor) – The desired state for each device. Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issuetensorplay.cuda.random.set_rng_stateSet the random number generator state of the specified GPU.tensorplay.cuda.reset_accumulated_host_memory_statsReset the “accumulated” (historical) stats tracked by the host memory allocator.