Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add the bfloat16 for lerp #5993

Merged
merged 1 commit into from
Jul 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/api/paddle/lerp_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ lerp
参数
:::::::::

- **x** (Tensor) - 输入的 Tensor,作为线性插值开始的点,数据类型为:float16、float32、float64。
- **y** (Tensor) - 输入的 Tensor,作为线性插值结束的点,数据类型为:float16、float32、float64。
- **weight** (float|Tensor) - 给定的权重值,weight 为 Tensor 时数据类型为:float16、float32、float64。
- **x** (Tensor) - 输入的 Tensor,作为线性插值开始的点,数据类型为:bfloat16、float16、float32、float64。
- **y** (Tensor) - 输入的 Tensor,作为线性插值结束的点,数据类型为:bfloat16、float16、float32、float64。
- **weight** (float|Tensor) - 给定的权重值,weight 为 Tensor 时数据类型为:bfloat16、float16、float32、float64。
- **name** (str,可选) - 操作的名称(可选,默认值为 None)。更多信息请参见 :ref:`api_guide_Name`。

返回
Expand Down