提交 767bf0c8 编写于 作者: X xjqbest 提交者: dongdaxiang

fix bug of dense_table_set.add

上级 284adcc7
...@@ -84,9 +84,9 @@ class DownpourSGD(DeviceWorker): ...@@ -84,9 +84,9 @@ class DownpourSGD(DeviceWorker):
pc.push_sparse_table_id.extend([i]) pc.push_sparse_table_id.extend([i])
for i in program_configs[program_id]["push_dense"]: for i in program_configs[program_id]["push_dense"]:
pc.push_dense_table_id.extend([i]) pc.push_dense_table_id.extend([i])
dense_table_set.add(i)
for i in program_configs[program_id]["pull_sparse"]: for i in program_configs[program_id]["pull_sparse"]:
pc.pull_sparse_table_id.extend([i]) pc.pull_sparse_table_id.extend([i])
dense_table_set.add(i)
for i in program_configs[program_id]["pull_dense"]: for i in program_configs[program_id]["pull_dense"]:
pc.pull_dense_table_id.extend([i]) pc.pull_dense_table_id.extend([i])
dense_table_set.add(i) dense_table_set.add(i)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册