From 0114f1d65a69ce8baf2df816aad9bebb0c1f7137 Mon Sep 17 00:00:00 2001 From: wopeizl Date: Tue, 16 Apr 2019 10:19:50 +0800 Subject: [PATCH] give the output value to keep consistant with document test=develop (#16740) --- python/paddle/fluid/layers/control_flow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/fluid/layers/control_flow.py b/python/paddle/fluid/layers/control_flow.py index f8f461853..c1b336db9 100644 --- a/python/paddle/fluid/layers/control_flow.py +++ b/python/paddle/fluid/layers/control_flow.py @@ -189,6 +189,7 @@ def Print(input, 'print_tensor_lod': print_tensor_lod, 'print_phase': print_phase.upper() }) + return input class BlockGuard(object): -- GitLab