Skip to content

Commit

Permalink
Modify the output result annotation under the lerp function (#44035)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcangye authored Aug 2, 2022
1 parent 937ea24 commit d788e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/tensor/math.py
Original file line number Diff line number Diff line change
Expand Up @@ -4027,7 +4027,7 @@ def lerp(x, y, weight, name=None):
y = paddle.empty([4], dtype='float32')
y.fill_(10.)
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():
Expand Down

0 comments on commit d788e72

Please sign in to comment.