API symbolscudaCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok tensorplay.cuda.random.get_rng_state_all tensorplay.cuda.random.get_rng_state_all() → list[TensorBase][source] Return a list of ByteTensor representing the random number states of all devices. Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issuetensorplay.cuda.random.get_rng_stateReturn the random number generator state of the specified GPU as a ByteTensor.tensorplay.cuda.random.initial_seedReturn the current random seed of the current GPU.