tensorplay.cuda.memory_stats_as_nested_dict
- tensorplay.cuda.memory_stats_as_nested_dict(device: Any = None) dict[str, Any][source]
Return the result of
memory_stats()as a nested dictionary.The native allocator reports the fragmentation-aware matrix directly (segments, free-block histogram, pending cross-stream blocks, graph pools, capture state); it is exposed under
"allocator"alongside the

