torch.cuda.can_device_access_peer¶ torch.cuda.can_device_access_peer(device, peer_device)[source][source]¶ 檢查兩個設備之間是否可以進行對等存取。 傳回類型 bool