From 4fead73f4240a16d41938b43e12534955f8b4f23 Mon Sep 17 00:00:00 2001 From: liuhe Date: Mon, 12 Apr 2021 11:27:23 +0800 Subject: [PATCH] update document of matrixinverse --- mindspore/ops/operations/math_ops.py | 2 +- mindspore/ops/operations/nn_ops.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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