Skip to content

Commit a1b12d6

Browse files
author
Vahid Tavanashad
committed
remove einsum_call kwargs from dpnp.einsum_path signature
1 parent 5468479 commit a1b12d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpnp/dpnp_iface_linearalgebra.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def einsum(
457457
)
458458

459459

460-
def einsum_path(*operands, optimize="greedy", einsum_call=False):
460+
def einsum_path(*operands, optimize="greedy"):
461461
"""
462462
einsum_path(subscripts, *operands, optimize="greedy")
463463
@@ -483,7 +483,7 @@ def einsum_path(*operands, optimize="greedy", einsum_call=False):
483483
* if a list is given that starts with ``einsum_path``, uses this as the
484484
contraction path
485485
* if ``False`` or ``None`` no optimization is taken
486-
* if ``True`` defaults to the "greedy" algorithm
486+
* if ``True`` defaults to the ``"greedy"`` algorithm
487487
* ``"optimal"`` is an algorithm that combinatorially explores all
488488
possible ways of contracting the listed tensors and chooses the
489489
least costly path. Scales exponentially with the number of terms
@@ -586,7 +586,7 @@ def einsum_path(*operands, optimize="greedy", einsum_call=False):
586586
return numpy.einsum_path(
587587
*operands,
588588
optimize=optimize,
589-
einsum_call=einsum_call,
589+
einsum_call=False,
590590
)
591591

592592

0 commit comments

Comments
 (0)