diff --git a/mindspore/ops/operations/math_ops.py b/mindspore/ops/operations/math_ops.py index 2477d736f7..3f830024c0 100644 --- a/mindspore/ops/operations/math_ops.py +++ b/mindspore/ops/operations/math_ops.py @@ -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`. diff --git a/mindspore/ops/operations/nn_ops.py b/mindspore/ops/operations/nn_ops.py index cd1f2239e6..63a5cfc8e7 100644 --- a/mindspore/ops/operations/nn_ops.py +++ b/mindspore/ops/operations/nn_ops.py @@ -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