Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

fluid.layers.Print 没有输出

Open sshilei opened this issue 7 years ago • 2 comments

image

程序会在169行报错,我在153行和167行加了Print调试一下,但是没有任何输出。 如果把169行改正确的话,Print就可以输出

sshilei avatar Apr 18 '19 04:04 sshilei

试试这个 https://stackoverflow.com/a/37463806

wangguibao avatar Apr 18 '19 06:04 wangguibao

fluid.layers.Print()是在program里增加一个print_op,print_op在运行时才起作用。

用户程序169行是在python端报错,还未开始训练,Print()还不能打印

已向用户解释。

wangguibao avatar Apr 18 '19 06:04 wangguibao