pip install torch==1.7.0+cpu torchvision==0.8.1+cpu torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
https://aka.ms/vs/16/release/vc_redist.x64.exe - Обязательно
https://pytorch.org/get-started/locally/
import torch
x = torch.rand(5, 3)
print(x)Examples:
https://pytorch.org/tutorials/beginner/pytorch_with_examples.html
Комментариев нет:
Отправить комментарий