torch.cuda.memory.host_memory_stats_as_nested_dict torch.cuda.memory.host_memory_stats_as_nested_dict() [source] Return the result of host_memory_stats() as a nested dictionary. Return type dict[str, Any]