Skip to content

Commit 65f35f6

Browse files
pmeiermszhanyi
authored andcommitted
fix import order for torchvision.prototype.datasets (pytorch#4538)
1 parent c83a8bd commit 65f35f6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

torchvision/prototype/datasets/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
"Note that you cannot install it with `pip install torchdata`, since this is another package."
88
) from error
99

10-
1110
from . import decoder, utils
11+
from ._home import home
1212

1313
# Load this last, since some parts depend on the above being loaded first
14-
from ._api import register, _list as list, info, load
14+
from ._api import register, _list as list, info, load # usort: skip
1515
from ._folder import from_data_folder, from_image_folder
16-
from ._home import home

0 commit comments

Comments
 (0)