Skip to content

Commit

Permalink
add the bfloat16 for lerp (#5993)
Browse files Browse the repository at this point in the history
  • Loading branch information
longranger2 authored Jul 3, 2023
1 parent 63b2bfa commit 4be6bd6
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 4be6bd6

Please sign in to comment.