2022-11-07 10:19:50 +08:00
|
|
|
|
mindspore.ops.adjoint
|
|
|
|
|
|
======================
|
|
|
|
|
|
|
2022-11-11 12:15:29 +08:00
|
|
|
|
.. py:function:: mindspore.ops.adjoint(x)
|
2022-11-07 10:19:50 +08:00
|
|
|
|
|
2022-12-29 16:33:21 +08:00
|
|
|
|
计算Tensor的共轭,并转置最后两个维度。
|
2022-11-07 10:19:50 +08:00
|
|
|
|
|
2022-12-16 11:42:24 +08:00
|
|
|
|
.. note::
|
|
|
|
|
|
Ascend尚未支持Complex类型Tensor的输入。
|
|
|
|
|
|
|
2022-11-07 10:19:50 +08:00
|
|
|
|
参数:
|
2022-12-29 16:33:21 +08:00
|
|
|
|
- **x** (Tensor) - 参与计算的Tensor。
|
2022-11-07 10:19:50 +08:00
|
|
|
|
|
|
|
|
|
|
返回:
|
|
|
|
|
|
Tensor,和 `x` 具有相同的dtype和shape。
|
|
|
|
|
|
|
|
|
|
|
|
异常:
|
2022-12-29 16:33:21 +08:00
|
|
|
|
- **TypeError**:`x` 不是Tensor。
|