未验证 提交 7fcaa39b 编写于 作者: L lijianshe02 提交者: GitHub

fix Print_op input dtype list error test=develop (#21326)

上级 84865b80
...@@ -254,7 +254,7 @@ def Print(input, ...@@ -254,7 +254,7 @@ def Print(input,
''' '''
check_type_and_dtype(input, 'input', Variable, check_type_and_dtype(input, 'input', Variable,
['float32', 'float64', 'int32_t', 'int64_t', 'bool'], ['float32', 'float64', 'int32', 'int64', 'bool'],
'fluid.layers.Print') 'fluid.layers.Print')
helper = LayerHelper('print' + "_" + input.name, **locals()) helper = LayerHelper('print' + "_" + input.name, **locals())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册