Difference between revisions of "Import torch"

From wikieduonline
Jump to navigation Jump to search
(Created page with " import torch from torch import nn from torch.utils.data import DataLoader from torchvision import datasets from torchvision.transforms import ToTensor, Lambda, Compose i...")
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{lowercase}}
 
  import torch
 
  import torch
 
  from torch import nn
 
  from torch import nn
Line 10: 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: