!40361 [docs]fix document for isfinite

Merge pull request !40361 from 徐安越/code_docs_master
This commit is contained in:
i-robot 2022-08-15 06:26:42 +00:00 committed by Gitee
commit 29ba707566
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
mindspore.Tensor.isfinite
=========================
.. py:method:: mindspore.Tensor.isfinite()
判断输入数据每个位置上的值是否是有限数。
返回:
Tensor输出的shape与输入相同数据类型为bool。
异常:
- **TypeError** - 如果当前操作数不是Tensor。

View File

@ -105,6 +105,7 @@ Comparison Methods
mindspore.Tensor.approximate_equal
mindspore.Tensor.has_init
mindspore.Tensor.isclose
mindspore.Tensor.isfinite
mindspore.Tensor.top_k
Linear Algebraic Methods