torch.get_default_device¶ torch.get_default_device()[源代码][源代码]¶ 获取将在 device 上分配的默认 torch.Tensor 返回类型 device