update example of matrixinverse

This commit is contained in:
liuhe 2021-04-13 09:28:15 +08:00
parent a5fd682844
commit 2346714488
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 ]