torch.get_default_device¶ torch.get_default_device()[原始碼][原始碼]¶ 取得要在 device 上分配的預設 torch.Tensor 回傳類型 device