提交 a8b630c8 编写于 作者: T typhoonzero

remove comments

上级 21071f71
...@@ -361,8 +361,6 @@ class DistributeTranspiler: ...@@ -361,8 +361,6 @@ class DistributeTranspiler:
j = idx - 1 j = idx - 1
while j >= 0: while j >= 0:
prev_op = all_ops[j] prev_op = all_ops[j]
# prev_output_names = [o.name for o in prev_op.outputs.values()]
# prev_input_names = [o.name for o in prev_op.inputs.values()]
# NOTE(typhoonzero): consider list input/output # NOTE(typhoonzero): consider list input/output
prev_output_names = prev_op.desc.output_arg_names() prev_output_names = prev_op.desc.output_arg_names()
prev_input_names = prev_op.desc.input_arg_names() prev_input_names = prev_op.desc.input_arg_names()
...@@ -535,14 +533,6 @@ class DistributeTranspiler: ...@@ -535,14 +533,6 @@ class DistributeTranspiler:
attrs={ attrs={
"OptimizeBlock": optimize_block, "OptimizeBlock": optimize_block,
"endpoint": endpoint, "endpoint": endpoint,
# "ParamList": [
# p.name
# for p in self.param_grad_ep_mapping[endpoint]["params"]
# ],
# "GradList": [
# p.name
# for p in self.param_grad_ep_mapping[endpoint]["grads"]
# ],
"Fanin": self.trainers "Fanin": self.trainers
}) })
pserver_program.sync_with_cpp() pserver_program.sync_with_cpp()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册