!15041 update example of matrixinverse

From: @mind-lh
Reviewed-by: @liangchenghui,@wuxuejian
Signed-off-by: @liangchenghui
This commit is contained in:
mindspore-ci-bot 2021-04-13 09:50:25 +08:00 committed by Gitee
commit ede3f65d21
1 changed files with 1 additions and 1 deletions

View File

@ -4512,7 +4512,7 @@ class MatrixInverse(PrimitiveWithInfer):
... [-1.7651395 , -1.7576632]],
... [[ 0.52412605, 1.9070215],
... [ 1.3384849 , 1.4274558]]]), mindspore.float32)
>>> matrix_inverse = MatrixInverse(adjoint=False)
>>> matrix_inverse = ops.MatrixInverse(adjoint=False)
>>> output = matrix_inverse(x)
>>> print(output)
[[[ 2.408438 -1.535711 ]