!46139 Add Diag operator docs.

Merge pull request !46139 from yangshuo/code_docs_api
This commit is contained in:
i-robot 2022-11-28 09:59:09 +00:00 committed by Gitee
commit 4a163493f0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 10 additions and 0 deletions

View File

@ -486,6 +486,7 @@ Array操作
mindspore.ops.CumSum
mindspore.ops.DataFormatDimMap
mindspore.ops.DepthToSpace
mindspore.ops.Diag
mindspore.ops.DiagPart
mindspore.ops.DType
mindspore.ops.Eig

View File

@ -0,0 +1,8 @@
mindspore.ops.Diag
==================
.. py:class:: mindspore.ops.Diag
用给定的对角线值构造对角线张量。
更多参考详见 :func:`mindspore.ops.diag`

View File

@ -485,6 +485,7 @@ Array Operation
mindspore.ops.CumSum
mindspore.ops.DataFormatDimMap
mindspore.ops.DepthToSpace
mindspore.ops.Diag
mindspore.ops.DiagPart
mindspore.ops.DType
mindspore.ops.Eig