Bootstrap

pytorch国内镜像源安装及测试

一、安装命令: 

pip install torch torchvision torchaudio -i https://pypi.tuna.tsinghua.edu.cn/simple

 二、测试:

import torch
x = torch.rand(5, 3)
print(x)

;