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

19 lines
592 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.BitwiseXor
========================
.. py:class:: mindspore.ops.BitwiseXor
逐元素执行两个Tensor的异或运算。
.. warning::
该API在CPU上性能较差推荐在Ascend/GPU上运行。
更多细节详见 :func:`mindspore.ops.bitwise_xor`
输入:
- **x** (Tensor) - 第一个输入Tensor其shape为 :math:`(N, *)` ,其中 :math:`*` 为任意数量的额外维度。
- **y** (Tensor) - 第二个输入Tensor数据类型与 `x` 一致。
输出:
Tensor是一个与 `x` 相同类型的Tensor。