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