mindspore/docs/api/api_python/ops/mindspore.ops.func_isneginf...

16 lines
343 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.ops.isneginf
======================
.. py:function:: mindspore.ops.isneginf(x)
逐元素判断是否是负inf。
参数:
- **x** (Tensor) - 输入Tensor。
返回:
Tensor对应 `x` 元素为负inf的位置是true反之为false。
异常:
- **TypeError** - `x` 不是Tensor。