update document of matrixinverse

From: @mind-lh
Reviewed-by: @liangchenghui,@wuxuejian
Signed-off-by: @liangchenghui
This commit is contained in:
mindspore-ci-bot 2021-04-12 15:02:10 +08:00 committed by Gitee
commit 0df1ef53bf
2 changed files with 2 additions and 2 deletions
mindspore/ops/operations

View File

@ -4493,7 +4493,7 @@ class MatrixInverse(PrimitiveWithInfer):
Inputs: Inputs:
- **x** (Tensor) - A matrix to be calculated. The matrix must be at least two dimensions, and the last two - **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: Outputs:
Tensor, has the same type and shape as input `x`. Tensor, has the same type and shape as input `x`.

View File

@ -2339,7 +2339,7 @@ class SparseSoftmaxCrossEntropyWithLogits(PrimitiveWithInfer):
``GPU`` ``CPU`` ``GPU`` ``CPU``
Examples: Examples:
Please refer to :class:`mindspore.nn.SparseSoftmaxCrossEntropyWithLogits` Please refer to :class:`mindspore.ops.SparseSoftmaxCrossEntropyWithLogits`
""" """
@prim_attr_register @prim_attr_register