[无参数]torch.get_default_device

torch.get_default_device

torch.get_default_device()

paddle.get_device

paddle.get_device()

功能一致,无参数。