diff --git a/python/paddle/fluid/device_worker.py b/python/paddle/fluid/device_worker.py index 2700f006db7c9cf505063bc38e6a8fbb2e329b02..1a23d7281e32ec6b68790da35f695e677da6e5d1 100644 --- a/python/paddle/fluid/device_worker.py +++ b/python/paddle/fluid/device_worker.py @@ -184,7 +184,7 @@ class DownpourSGD(DeviceWorker): dense_table.dense_value_name.extend(i.dense_variable_name) dense_table.dense_grad_name.extend( i.dense_gradient_variable_name) - downpour.skip_ops.extend(worker.get_desc().skip_op) + downpour.skip_ops.extend(worker.get_desc().skip_op) if self._infer: downpour.push_dense = False downpour.push_sparse = False