Skip to content

Commit 8cb1fb8

Browse files
committed
lint
1 parent 3a88889 commit 8cb1fb8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

torchvision/datasets/mnist.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(
7777
self.train = train # training set or test set
7878

7979
if self._check_legacy_exist():
80-
self.data, self.targets = self._load_legacy_cache()
80+
self.data, self.targets = self._load_legacy_data()
8181
return
8282

8383
if download:
@@ -113,7 +113,6 @@ def _load_data(self):
113113

114114
return data, targets
115115

116-
117116
def __getitem__(self, index: int) -> Tuple[Any, Any]:
118117
"""
119118
Args:

0 commit comments

Comments
 (0)