Skip to content

Commit c47cfc1

Browse files
remove unnecessary imports in pytorch_tutorial.py (#1456)
Co-authored-by: holly1238 <77758406+holly1238@users.noreply.github.com>
1 parent 4bf264b commit c47cfc1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

beginner_source/nlp/pytorch_tutorial.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
# Author: Robert Guthrie
1515

1616
import torch
17-
import torch.autograd as autograd
18-
import torch.nn as nn
19-
import torch.nn.functional as F
20-
import torch.optim as optim
2117

2218
torch.manual_seed(1)
2319

0 commit comments

Comments
 (0)