API symbolscudaCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok tensorplay.cuda.memory_stats_as_nested_dict tensorplay.cuda.memory_stats_as_nested_dict(device: Any | None = None) → dict[str, Any][source] Return the result of memory_stats() as a nested dictionary. Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issuetensorplay.cuda.memory_statsReturn a dictionary of CUDA memory allocator statistics for a given device.tensorplay.cuda.memory_summaryReturn a human-readable printout of the current memory allocator statistics for a given device.