Skip to content

Commit

Permalink
【PaddlePaddle Hackathon 3 No.48】为 Paddle 新增 elementwise op support fp…
Browse files Browse the repository at this point in the history
…16 (#45496)
  • Loading branch information
xiaohemaikoo committed Sep 1, 2022
1 parent 517bf0c commit 3b348d8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
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

0 comments on commit 3b348d8

Please sign in to comment.