torch.cuda.memory.memory_cached torch.cuda.memory.memory_cached(device=None) [source] Deprecated; see memory_reserved(). Return type int