Skip to content

Commit eac1523

Browse files
Address remarks for #1752
1 parent 210156d commit eac1523

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpnp/linalg/dpnp_iface_linalg.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ def slogdet(a):
936936

937937
def tensorinv(a, ind=2):
938938
"""
939-
Compute the `inverse` of a tensor.
939+
Compute the 'inverse' of an N-dimensional array.
940940
941941
For full documentation refer to :obj:`numpy.linalg.tensorinv`.
942942
@@ -945,7 +945,7 @@ def tensorinv(a, ind=2):
945945
a : {dpnp.ndarray, usm_ndarray}
946946
Tensor to `invert`. Its shape must be 'square', i. e.,
947947
``prod(a.shape[:ind]) == prod(a.shape[ind:])``.
948-
ind : int
948+
ind : int, optional
949949
Number of first indices that are involved in the inverse sum.
950950
Must be a positive integer.
951951
Default: 2.
@@ -1021,7 +1021,7 @@ def tensorsolve(a, b, axes=None):
10211021
See Also
10221022
--------
10231023
:obj:`dpnp.linalg.tensordot` : Compute tensor dot product along specified axes.
1024-
:obj:`dpnp.linalg.tensorinv` : Compute the `inverse` of a tensor.
1024+
:obj:`dpnp.linalg.tensorinv` : Compute the 'inverse' of an N-dimensional array.
10251025
:obj:`dpnp.einsum` : Evaluates the Einstein summation convention on the operands.
10261026
10271027
Examples

0 commit comments

Comments
 (0)