torch.cuda.can_device_access_peer¶ torch.cuda.can_device_access_peer(device, peer_device)[源][源]¶ 檢查兩個裝置之間是否可以進行對等訪問。 返回型別 bool