未验证 提交 9776888a 编写于 作者: W wuhuanzhou 提交者: GitHub

modify arguments descriptions of lerp, test=document_fix (#38013)

上级 b199ba85
...@@ -2624,9 +2624,9 @@ def lerp(x, y, weight, name=None): ...@@ -2624,9 +2624,9 @@ def lerp(x, y, weight, name=None):
lerp(x, y, weight) = x + weight * (y - x). lerp(x, y, weight) = x + weight * (y - x).
Args: Args:
x (Tensor): An N-D Tensor, the data type is float32, float64. x (Tensor): An N-D Tensor with starting points, the data type is float32, float64.
y (Tensor): An N-D Tensor, the data type is float32, float64. y (Tensor): An N-D Tensor with ending points, the data type is float32, float64.
weight (float|Tensor): the weight for the interpolation formula. weight (float|Tensor): The weight for the interpolation formula. When weight is Tensor, the data type is float32, float64.
name (str, optional): Name for the operation (optional, default is None). For more information, please refer to :ref:`api_guide_Name`. name (str, optional): Name for the operation (optional, default is None). For more information, please refer to :ref:`api_guide_Name`.
Returns: Returns:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册