mindspore/docs/api/api_python/ops/mindspore.ops.func_signbit.rst

15 lines
361 B
ReStructuredText
Raw 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.signbit
======================
.. py:function:: mindspore.ops.signbit(x)
在符号位已设置小于零的情况下按元素位置返回True。
参数:
- **x** (Tensor) - 输入Tensor。
返回:
Tensor `x` 的signbit计算结果。
异常:
- **TypeError** - 如果 `x` 不是Tensor。