pytorch wiki code example
Example 1: PyTorch
conda install pytorch torchvision cudatoolkit=10.2 -c pytorch
Example 2: pytorch
from __future__ import print_function
import torch
x = torch.rand(5, 3)
print(x)
conda install pytorch torchvision cudatoolkit=10.2 -c pytorch
from __future__ import print_function
import torch
x = torch.rand(5, 3)
print(x)