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

【PaddlePaddle Hackathon 3 No.48】为 Paddle 新增 elementwise op support fp16 (#45496) #5249

Merged
merged 1 commit into from
Sep 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/api/paddle/fmax_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ fmax

参数
:::::::::
- **x** (Tensor)- 输入的 Tensor。数据类型为 ``float32`` 、 ``float64`` 、 ``int32`` 或 ``int64`` 。
- **y** (Tensor)- 输入的 Tensor。数据类型为 ``float32`` 、 ``float64`` 、 ``int32`` 或 ``int64`` 。
- **x** (Tensor)- 输入的 Tensor。数据类型为 ``float16`` 、 ``float32`` 、 ``float64`` 、 ``int32`` 或 ``int64`` 。
- **y** (Tensor)- 输入的 Tensor。数据类型为 ``float16`` 、 ``float32`` 、 ``float64`` 、 ``int32`` 或 ``int64`` 。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。

返回
Expand Down
4 changes: 2 additions & 2 deletions docs/api/paddle/fmin_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ fmin

参数
:::::::::
- **x** (Tensor)- 输入的 Tensor。数据类型为 ``float32`` 、 ``float64`` 、 ``int32`` 或 ``int64`` 。
- **y** (Tensor)- 输入的 Tensor。数据类型为 ``float32`` 、 ``float64`` 、 ``int32`` 或 ``int64`` 。
- **x** (Tensor)- 输入的 Tensor。数据类型为 ``float16`` 、 ``float32`` 、 ``float64`` 、 ``int32`` 或 ``int64`` 。
- **y** (Tensor)- 输入的 Tensor。数据类型为 ``float16`` 、 ``float32`` 、 ``float64`` 、 ``int32`` 或 ``int64`` 。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。

返回
Expand Down
4 changes: 2 additions & 2 deletions docs/api/paddle/heaviside_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ heaviside

参数
:::::::::
- **x** (Tensor)- 赫维赛德阶跃函数的输入 Tensor。数据类型为 float32、float64、int32 或 int64。
- **y** (Tensor)- 决定了一个赫维赛德阶跃函数的 Tensor。数据类型为 float32、float64、int32 或 int64。
- **x** (Tensor)- 赫维赛德阶跃函数的输入 Tensor。数据类型为 float16、float32、float64、int32 或 int64。
- **y** (Tensor)- 决定了一个赫维赛德阶跃函数的 Tensor。数据类型为 float16、float32、float64、int32 或 int64。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。

返回
Expand Down
4 changes: 2 additions & 2 deletions docs/api/paddle/mod_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ mod

参数
:::::::::
- **x** (Tensor) - 多维 Tensor。数据类型为 float32 、float64、int32 或 int64。
- **y** (Tensor) - 多维 Tensor。数据类型为 float32 、float64、int32 或 int64。
- **x** (Tensor) - 多维 Tensor。数据类型为 float16、float32 、float64、int32 或 int64。
- **y** (Tensor) - 多维 Tensor。数据类型为 float16、float32 、float64、int32 或 int64。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name` ,一般无需设置,默认值为 None。

返回
Expand Down
2 changes: 1 addition & 1 deletion docs/api/paddle/pow_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pow

参数
:::::::::
- **x** (Tensor)- 多维 ``Tensor``,数据类型为 ``float32`` 、 ``float64`` 、 ``int32`` 或 ``int64`` 。
- **x** (Tensor)- 多维 ``Tensor``,数据类型为 ``float16`` 、 ``float32`` 、 ``float64`` 、 ``int32`` 或 ``int64`` 。
- **y** (float|int|Tensor)- 如果类型是多维 ``Tensor``,其数据类型应该和 ``x`` 相同。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。

Expand Down
4 changes: 2 additions & 2 deletions docs/api/paddle/remainder_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ remainder
参数
:::::::::

- **x** (Tensor) - 多维 Tensor。数据类型为 float32 、float64、int32 或 int64。
- **y** (Tensor) - 多维 Tensor。数据类型为 float32 、float64、int32 或 int64。
- **x** (Tensor) - 多维 Tensor。数据类型为 float16 、float32 、float64、int32 或 int64。
- **y** (Tensor) - 多维 Tensor。数据类型为 float16 、float32 、float64、int32 或 int64。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name` ,一般无需设置,默认值为 None。

返回
Expand Down