未验证 提交 d788e727 编写于 作者: 沧夜2021's avatar 沧夜2021 提交者: GitHub

Modify the output result annotation under the lerp function (#44035)

上级 937ea24e
...@@ -4027,7 +4027,7 @@ def lerp(x, y, weight, name=None): ...@@ -4027,7 +4027,7 @@ def lerp(x, y, weight, name=None):
y = paddle.empty([4], dtype='float32') y = paddle.empty([4], dtype='float32')
y.fill_(10.) y.fill_(10.)
out = paddle.lerp(x, y, 0.5) out = paddle.lerp(x, y, 0.5)
# out: [5.5., 6., 6.5, 7.] # out: [5.5, 6., 6.5, 7.]
""" """
if in_dygraph_mode(): if in_dygraph_mode():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册