Difference between revisions of "Import torch"

From wikieduonline
Jump to navigation Jump to search
 
Line 11: Line 11:
 
== See also ==
 
== See also ==
 
* {{PyTorch}}
 
* {{PyTorch}}
 +
 +
[[Category:ML]]

Latest revision as of 09:37, 8 July 2022

import torch
from torch import nn
from torch.utils.data import DataLoader
from torchvision import datasets
from torchvision.transforms import ToTensor, Lambda, Compose
import matplotlib.pyplot as plt


See also[edit]

Advertising: