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

fix_cn_doc | isfinite_cn #4667

Merged
merged 2 commits into from
Apr 22, 2022
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/isfinite_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ isfinite

.. py:function:: paddle.isfinite(x, name=None)

返回输入tensor的每一个值是否为 `Finite` (既非 `+/-INF` 也非 `+/-NaN` )。
返回输入 Tensor 的每一个值是否为有限值(既非 `+/-INF` 也非 `+/-NaN` )。

参数
:::::::::
- **x** (Tensor): 输入的 `Tensor` ,数据类型为:float16、float32、float64、int32、int64。
- **name** (str, 可选): 操作的名称(可选,默认值为None)。更多信息请参见 :ref:`api_guide_Name` 。
- **name** (str可选): 操作的名称可选,默认值为 None )。更多信息请参见 :ref:`api_guide_Name` 。

返回
:::::::::
``Tensor``, 每个元素是一个bool值,表示输入 `x` 的每个元素是否为 `Finite` (既非 `+/-INF` 也非 `+/-NaN` )。
``Tensor``,每个元素是一个 bool 值,表示输入 `x` 的每个元素是否为有限值(既非 `+/-INF` 也非 `+/-NaN` )。

代码示例
:::::::::
Expand Down