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

15 lines
350 B
ReStructuredText
Raw Normal View History

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-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。