torch.cuda.memory_cached¶ torch.cuda.memory_cached(device=None)[源代码]¶ 已弃用;请参阅 memory_reserved()。 Return type int