torch.cuda.max_memory_cached torch.cuda.max_memory_cached(device=None)[源代码] 已弃用;请参见max_memory_reserved()。 返回类型 int