From 98a2179f80f587ab50d12f0bb41b8110306906ba Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Fri, 27 Apr 2018 13:45:01 +0800 Subject: [PATCH] fix ListenAndServ op --- python/paddle/fluid/layers/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/layers/io.py b/python/paddle/fluid/layers/io.py index e8eff33bd1..acfad45704 100644 --- a/python/paddle/fluid/layers/io.py +++ b/python/paddle/fluid/layers/io.py @@ -170,7 +170,7 @@ class ListenAndServ(object): 'OptimizeBlock': current_block, 'PrefetchBlock': empty_block, 'sync_mode': True, # did not support async now in layers - 'grad_to_block_id': [] + 'grad_to_block_id': [""] }) -- GitLab