Skip to content

Commit 268f00e

Browse files
NicolasHugfacebook-github-bot
authored andcommitted
[fbsync] fix import order for torchvision.prototype.datasets (#4538)
Reviewed By: kazhang Differential Revision: D31391272 fbshipit-source-id: 093631390dcace3d1e3e21d264f68405399b0743
1 parent a063d3d commit 268f00e

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)