mindspore/docs/api/api_python/mint/mindspore.mint.func_isinf.rst

17 lines
417 B
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.mint.isinf
=======================
.. py:function:: mindspore.mint.isinf(input)
返回一个布尔型tensor指示哪些元素是正负无穷数。
.. warning::
- 这是一个实验性API后续可能修改或删除。
- 该API目前只支持在Atlas A2训练系列产品上使用。
参数:
- **input** (Tensor) - 输入tensor。
返回:
Tensor