Browse Source

!14977 update document of matrixinverse

From: @mind-lh
Reviewed-by: @liangchenghui,@wuxuejian
Signed-off-by: @liangchenghui
pull/14977/MERGE
mindspore-ci-bot Gitee 4 years ago
parent
commit
0df1ef53bf
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      mindspore/ops/operations/math_ops.py
  2. +1
    -1
      mindspore/ops/operations/nn_ops.py

+ 1
- 1
mindspore/ops/operations/math_ops.py View File

@@ -4493,7 +4493,7 @@ class MatrixInverse(PrimitiveWithInfer):

Inputs:
- **x** (Tensor) - A matrix to be calculated. The matrix must be at least two dimensions, and the last two
dimensions must be the same size. types: float32, float64.
dimensions must be the same size. types: float32, float64.

Outputs:
Tensor, has the same type and shape as input `x`.


+ 1
- 1
mindspore/ops/operations/nn_ops.py View File

@@ -2339,7 +2339,7 @@ class SparseSoftmaxCrossEntropyWithLogits(PrimitiveWithInfer):
``GPU`` ``CPU``

Examples:
Please refer to :class:`mindspore.nn.SparseSoftmaxCrossEntropyWithLogits`
Please refer to :class:`mindspore.ops.SparseSoftmaxCrossEntropyWithLogits`
"""

@prim_attr_register


Loading…
Cancel
Save