torch.cuda.memory_cached¶ torch.cuda.memory_cached(device=None)[source][source]¶ 已弃用;参见 memory_reserved()。 返回类型 int