diff --git a/python/paddle/fluid/layers/control_flow.py b/python/paddle/fluid/layers/control_flow.py index 4385e64583b19e5e094f724c4d371983c4fd17d4..140219c28faa3884f276435bb8a1daf98f12245a 100755 --- a/python/paddle/fluid/layers/control_flow.py +++ b/python/paddle/fluid/layers/control_flow.py @@ -2400,7 +2400,7 @@ class IfElse(object): exe.run(fluid.default_startup_program()) res = exe.run(fluid.default_main_program(), feed={"x":x_d, "y":y_d}, fetch_list=[out]) - print res + print(res) # [array([-1.], dtype=float32)] Args: