未验证 提交 4639d65d 编写于 作者: J JYChen 提交者: GitHub

remove non-public apis from distributed module (#48708)

上级 22ec915c
...@@ -34,7 +34,7 @@ import paddle ...@@ -34,7 +34,7 @@ import paddle
from paddle.distributed.ps.utils.public import DistributedMode from paddle.distributed.ps.utils.public import DistributedMode
from paddle.framework import core from paddle.framework import core
__all__ = ['Communicator', 'FLCommunicator', 'LargeScaleKV'] __all__ = []
class Communicator: class Communicator:
......
...@@ -21,7 +21,7 @@ from paddle.fluid import unique_name ...@@ -21,7 +21,7 @@ from paddle.fluid import unique_name
from paddle.framework import core from paddle.framework import core
from paddle.static import default_main_program, default_startup_program from paddle.static import default_main_program, default_startup_program
__all__ = ['GradAllReduce', 'LocalSGD', 'MultiThread'] __all__ = []
OpRole = core.op_proto_and_checker_maker.OpRole OpRole = core.op_proto_and_checker_maker.OpRole
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册