From 767bf0c8d3d8eeec2aae36fda2ef12e88af021ca Mon Sep 17 00:00:00 2001 From: xjqbest <173596896@qq.com> Date: Wed, 20 Mar 2019 17:53:51 +0800 Subject: [PATCH] fix bug of dense_table_set.add --- python/paddle/fluid/device_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/device_worker.py b/python/paddle/fluid/device_worker.py index 87f0a3d9ee6..9b859052325 100644 --- a/python/paddle/fluid/device_worker.py +++ b/python/paddle/fluid/device_worker.py @@ -84,9 +84,9 @@ class DownpourSGD(DeviceWorker): pc.push_sparse_table_id.extend([i]) for i in program_configs[program_id]["push_dense"]: pc.push_dense_table_id.extend([i]) + dense_table_set.add(i) for i in program_configs[program_id]["pull_sparse"]: pc.pull_sparse_table_id.extend([i]) - dense_table_set.add(i) for i in program_configs[program_id]["pull_dense"]: pc.pull_dense_table_id.extend([i]) dense_table_set.add(i) -- GitLab