未验证 提交 c1abc349 编写于 作者: Y Yang Zhang 提交者: GitHub

Fix `MSELoss` module path (#2214)

上级 c821e0fd
MSELoss
-------------------------------
.. py:function:: paddle.layers.MSELoss(input,label)
.. py:function:: paddle.fluid.dygraph.MSELoss(input,label)
该OP用于计算预测值和目标值的均方差误差。
......@@ -40,7 +40,7 @@ MSELoss
from paddle import fluid
import paddle.fluid.dygraph as dg
mse_loss = paddle.layers.MSELoss()
mse_loss = fluid.dygraph.MSELoss()
input = fluid.data(name="input", shape=[1])
label = fluid.data(name="label", shape=[1])
place = fluid.CPUPlace()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册