评价此页

torch.cuda.memory.max_memory_cached#

torch.cuda.memory.max_memory_cached(device=None)[source]#

已弃用;请参阅 max_memory_reserved()

返回类型

int