Skip to content

Commit

Permalink
refine fleet dataset class api (PaddlePaddle#27133)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxuefeng6 committed Sep 16, 2020
1 parent c296618 commit c67c391
Show file tree
Hide file tree
Showing 11 changed files with 835 additions and 568 deletions.
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",
"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

0 comments on commit c67c391

Please sign in to comment.