提交 8f9e23da 编写于 作者: S seiriosPlus

codestyle fix

上级 56ad065a
......@@ -348,7 +348,8 @@ class Trainer(object):
training_role = os.getenv("PADDLE_TRAINING_ROLE")
with self._prog_and_scope_guard():
t = distribute_transpiler.DistributeTranspiler()
t.transpile(self.trainer_id, pservers=pserver_endpoints, trainers=trainers)
t.transpile(
self.trainer_id, pservers=pserver_endpoints, trainers=trainers)
if training_role == "PSERVER":
if self.checkpoint_cfg:
pserver_id = eplist.index(current_endpoint)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册