目录
pip安装 2024年:
pip install torch==2.2.2 torchvision --index-url https://download.pytorch.org/whl/cu118
pip install torchvision==0.17.2 --index-url https://download.pytorch.org/whl/cu118
引用functional
import torch.nn.functional as torch_F
1.8.1 cuda10.2 0.9.1
pip install torch==1.8.1+cu102 torchvision==0.9.1+cu102 -f https://download.pytorch.org/whl/torch_stable.html
torch1.7 cuda10.2
pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.7.0+cu102.html
pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-1.7.0+cu102.html
pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-1.7.0+cu102.html<