提交 b1334259 编写于 作者: X Xi Chen

add grad_to_block_id

上级 98cf74c2
...@@ -444,7 +444,8 @@ class DistributeTranspiler: ...@@ -444,7 +444,8 @@ class DistributeTranspiler:
opt_state_block = pserver_program.create_block( opt_state_block = pserver_program.create_block(
pserver_program.num_blocks - 1) pserver_program.num_blocks - 1)
for glb_op in global_ops: for glb_op in global_ops:
__append_optimize_op__(glb_op, opt_state_block) __append_optimize_op__(glb_op, opt_state_block,
grad_to_block_id)
# NOT USED: single block version: # NOT USED: single block version:
# #
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册