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

16 lines
277 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.invert
====================
.. py:function:: mindspore.ops.invert(x)
逐元素按位翻转。如01010101 变为 10101010。
.. math::
out_i = \sim x_{i}
参数:
- **x** (Tensor) - 输入tensor。
返回:
Tensor