未验证 提交 7a372767 编写于 作者: B Bai Yifan 提交者: GitHub

fix warnings,test=develop (#2261)

上级 86ac1af0
......@@ -145,6 +145,7 @@ with fluid.program_guard(tp, sp):
fluid.layers.assign(np.array(
[0.1], dtype=np.float32)))
loss_mean = fluid.layers.reduce_mean(loss) / area
loss_mean.persistable = True
opt = fluid.optimizer.Momentum(
lr,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册