API symbolscudaCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok tensorplay.cuda.random.initial_seed tensorplay.cuda.random.initial_seed() → int[source] Return the current random seed of the current GPU. Warning This function eagerly initializes CUDA. 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_state_allReturn a list of ByteTensor representing the random number states of all devices.tensorplay.cuda.random.manual_seedSet the seed for generating random numbers for the current GPU.