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

15 lines
350 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.adjoint
======================
.. py:function:: mindspore.ops.adjoint(x)
计算Tensor的共轭并转置最后两个维度。
参数:
- **x** (Tensor) - 参与计算的Tensor。
返回:
Tensor`x` 具有相同的dtype和shape。
异常:
- **TypeError**`x` 不是Tensor。