!46139 Add Diag operator docs.
Merge pull request !46139 from yangshuo/code_docs_api
This commit is contained in:
commit
4a163493f0
|
@ -486,6 +486,7 @@ Array操作
|
||||||
mindspore.ops.CumSum
|
mindspore.ops.CumSum
|
||||||
mindspore.ops.DataFormatDimMap
|
mindspore.ops.DataFormatDimMap
|
||||||
mindspore.ops.DepthToSpace
|
mindspore.ops.DepthToSpace
|
||||||
|
mindspore.ops.Diag
|
||||||
mindspore.ops.DiagPart
|
mindspore.ops.DiagPart
|
||||||
mindspore.ops.DType
|
mindspore.ops.DType
|
||||||
mindspore.ops.Eig
|
mindspore.ops.Eig
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
mindspore.ops.Diag
|
||||||
|
==================
|
||||||
|
|
||||||
|
.. py:class:: mindspore.ops.Diag
|
||||||
|
|
||||||
|
用给定的对角线值构造对角线张量。
|
||||||
|
|
||||||
|
更多参考详见 :func:`mindspore.ops.diag`。
|
|
@ -485,6 +485,7 @@ Array Operation
|
||||||
mindspore.ops.CumSum
|
mindspore.ops.CumSum
|
||||||
mindspore.ops.DataFormatDimMap
|
mindspore.ops.DataFormatDimMap
|
||||||
mindspore.ops.DepthToSpace
|
mindspore.ops.DepthToSpace
|
||||||
|
mindspore.ops.Diag
|
||||||
mindspore.ops.DiagPart
|
mindspore.ops.DiagPart
|
||||||
mindspore.ops.DType
|
mindspore.ops.DType
|
||||||
mindspore.ops.Eig
|
mindspore.ops.Eig
|
||||||
|
|
Loading…
Reference in New Issue