提交 810439a9 编写于 作者: Q Qiao Longfei

fix style test=develop

上级 3ace486e
...@@ -1280,8 +1280,9 @@ class DistributeTranspiler(object): ...@@ -1280,8 +1280,9 @@ class DistributeTranspiler(object):
# create table param and grad var in pserver program # create table param and grad var in pserver program
# create table optimize block in pserver program # create table optimize block in pserver program
table_opt_op = [ table_opt_op = [
op for op in self.optimize_ops if 'Param' in op.input_names and op for op in self.optimize_ops
op.input("Param")[0] == self.table_name if 'Param' in op.input_names and op.input("Param")[0] ==
self.table_name
][0] ][0]
origin_param_var = self.origin_program.global_block().vars[ origin_param_var = self.origin_program.global_block().vars[
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册