未验证 提交 7e060274 编写于 作者: W wangzhen38 提交者: GitHub

[rm fluid] clear __all_ (#51066)

上级 cce2b94d
...@@ -21,7 +21,7 @@ from paddle.fluid.optimizer import SGD ...@@ -21,7 +21,7 @@ from paddle.fluid.optimizer import SGD
from paddle.optimizer import SGD as SGD_v2 from paddle.optimizer import SGD as SGD_v2
from paddle.static.amp.decorator import OptimizerWithMixedPrecision from paddle.static.amp.decorator import OptimizerWithMixedPrecision
__all__ = ['Mode', 'Fleet', 'DistributedOptimizer'] __all__ = []
class Mode: class Mode:
......
...@@ -12,15 +12,7 @@ ...@@ -12,15 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
__all__ = [ __all__ = []
"TrainerRuntimeConfig",
"DistributedStrategy",
"SyncStrategy",
"AsyncStrategy",
"HalfAsyncStrategy",
"GeoStrategy",
"StrategyFactory",
]
import os import os
......
...@@ -19,15 +19,7 @@ from multiprocessing import Manager, Process ...@@ -19,15 +19,7 @@ from multiprocessing import Manager, Process
import paddle.fluid as fluid import paddle.fluid as fluid
__all__ = [ __all__ = []
'Role',
'RoleMakerBase',
'MPISymetricRoleMaker',
'UserDefinedRoleMaker',
'UserDefinedCollectiveRoleMaker',
'PaddleCloudRoleMaker',
'GeneralRoleMaker',
]
class Role: class Role:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册