提交 d78e8f23 编写于 作者: Q Qiao Longfei

code format

test=develop
上级 ba8bbe15
...@@ -769,7 +769,8 @@ in a single call.") ...@@ -769,7 +769,8 @@ in a single call.")
lookup_table_var_name_to_block_id) lookup_table_var_name_to_block_id)
if len(optimize_blocks) == 0: if len(optimize_blocks) == 0:
logging.warn("pserver [" + str(endpoint) + "] has no optimize block!!") logging.warn("pserver [" + str(endpoint) +
"] has no optimize block!!")
pre_block_idx = pserver_program.num_blocks - 1 pre_block_idx = pserver_program.num_blocks - 1
empty_block = pserver_program._create_block(pre_block_idx) empty_block = pserver_program._create_block(pre_block_idx)
optimize_blocks.append(empty_block) optimize_blocks.append(empty_block)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册