未验证 提交 fcd18ef1 编写于 作者: Z zhangchunle 提交者: GitHub

fix no-value-for-parameter in iscan (#32551)

上级 1ec9525a
...@@ -24,7 +24,7 @@ class PaddlePSInstance(object): ...@@ -24,7 +24,7 @@ class PaddlePSInstance(object):
instance = PaddlePSInstance(1, 2) instance = PaddlePSInstance(1, 2)
""" """
def __init__(self, server_worker_mode, proc_per_node): def __init__(self, server_worker_mode=1, proc_per_node=2):
self.dh = MPIHelper() self.dh = MPIHelper()
self._rankid = self.dh.get_rank() self._rankid = self.dh.get_rank()
self._server_worker_mode = server_worker_mode self._server_worker_mode = server_worker_mode
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册