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

13 lines
293 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.signbit
======================
.. py:function:: mindspore.ops.signbit(input)
判断每个元素的符号如果元素值小于0则对应输出的位置为True否则为False。
参数:
- **input** (Tensor) - 输入tensor。
返回:
Tensor