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

18 lines
423 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.adjoint
======================
.. py:function:: mindspore.ops.adjoint(x)
计算Tensor的共轭并转置最后两个维度。
.. note::
Ascend尚未支持Complex类型Tensor的输入。
参数:
- **x** (Tensor) - 参与计算的Tensor。
返回:
Tensor`x` 具有相同的dtype和shape。
异常:
- **TypeError**`x` 不是Tensor。