From 7fcaa39b368416cbaa77502b4c924e4654f54ac3 Mon Sep 17 00:00:00 2001 From: lijianshe02 <48898730+lijianshe02@users.noreply.github.com> Date: Mon, 25 Nov 2019 14:46:04 +0800 Subject: [PATCH] fix Print_op input dtype list error test=develop (#21326) --- python/paddle/fluid/layers/control_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/layers/control_flow.py b/python/paddle/fluid/layers/control_flow.py index 92d05065363..87dd95bf144 100755 --- a/python/paddle/fluid/layers/control_flow.py +++ b/python/paddle/fluid/layers/control_flow.py @@ -254,7 +254,7 @@ def Print(input, ''' check_type_and_dtype(input, 'input', Variable, - ['float32', 'float64', 'int32_t', 'int64_t', 'bool'], + ['float32', 'float64', 'int32', 'int64', 'bool'], 'fluid.layers.Print') helper = LayerHelper('print' + "_" + input.name, **locals()) -- GitLab