!46902 [docs][API] Update adjoint docs

Merge pull request !46902 from shaojunsong/code_docs_adjoint
This commit is contained in:
i-robot 2022-12-16 09:32:12 +00:00 committed by Gitee
commit b4c5a60160
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,9 @@
计算张量的共轭,并转置最后两个维度。
.. note::
Ascend尚未支持Complex类型Tensor的输入。
参数:
- **x** (Tensor) - 参与计算的tensor。

View File

@ -4842,6 +4842,9 @@ def adjoint(x):
r"""
Returns a view of the tensor conjugated and with the last two dimensions transposed.
Note:
Ascend has not supported Complex Tensors yet.
Args:
x (Tensor): Input tensor.