Skip to content

Commit fe8abc3

Browse files
seungwonparksoumith
authored andcommitted
Remove deprecated & unused Variable() (pytorch#496)
1 parent 0d3fe14 commit fe8abc3

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

regression/main.py

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from itertools import count
44

55
import torch
6-
import torch.autograd
76
import torch.nn.functional as F
87

98
POLY_DEGREE = 4

super_resolution/super_resolve.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from __future__ import print_function
22
import argparse
33
import torch
4-
from torch.autograd import Variable
54
from PIL import Image
65
from torchvision.transforms import ToTensor
76

word_language_model/generate.py

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import argparse
99

1010
import torch
11-
from torch.autograd import Variable
1211

1312
import data
1413

0 commit comments

Comments
 (0)