Перейти к основному содержимому
Поиск
⌘
K
Войти
Загрузка
PyTorch
2.14
Поиск в PyTorch
/
torch.cuda.device_count
torch.cuda.
device_count
(
)
Return the number of GPUs available.
Return type
:
int
Назад
device
Далее
torch.cuda.device_memory_used