Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refine fleet dataset class api #27133

Merged
merged 15 commits into from
Sep 16, 2020
8 changes: 3 additions & 5 deletions python/paddle/distributed/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from .parallel import get_world_size
from paddle.fluid.dygraph.parallel import prepare_context #DEFINE_ALIAS
from paddle.fluid.dygraph.parallel import ParallelEnv #DEFINE_ALIAS
from paddle.distributed.fleet.dataset import *

from . import collective
from .collective import *
Expand All @@ -30,11 +31,8 @@

# dygraph parallel apis
__all__ += [
"init_parallel_env",
"get_rank",
"get_world_size",
"prepare_context",
"ParallelEnv",
"init_parallel_env", "get_rank", "get_world_size", "prepare_context",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to keep original layout, and add a comma at the last line.

"ParallelEnv", "InMemoryDataset", "QueueDataset"
]

# collective apis
Expand Down
1 change: 0 additions & 1 deletion python/paddle/distributed/fleet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
__all__ = [
"DistributedStrategy",
"UtilBase",
"DatasetFactory",
"UserDefinedRoleMaker",
"PaddleCloudRoleMaker",
"Fleet",
Expand Down
Loading