From d788e727b294fad7164f1dfb52ce0be936d94391 Mon Sep 17 00:00:00 2001 From: mrcangye Date: Tue, 2 Aug 2022 09:54:44 +0800 Subject: [PATCH] Modify the output result annotation under the lerp function (#44035) --- python/paddle/tensor/math.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/tensor/math.py b/python/paddle/tensor/math.py index 05b9e0069da..fe9d604251f 100644 --- a/python/paddle/tensor/math.py +++ b/python/paddle/tensor/math.py @@ -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(): -- GitLab