Skip to content

Commit d91c5fe

Browse files
committed
temp commit
1 parent 06204ec commit d91c5fe

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pytensor/tensor/rewriting/linalg.py

-5
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,6 @@ def rewrite_inv_for_diag_eye_mul(fgraph, node):
596596
if not (isinstance(core_op, valid_inverses)):
597597
return None
598598

599-
# Dealing with diagonal matrix from eye_mul
600599
potential_mul_input = node.inputs[0]
601600
eye_non_eye_inputs = _find_diag_from_eye_mul(potential_mul_input)
602601
if eye_non_eye_inputs is not None:
@@ -619,10 +618,6 @@ def rewrite_inv_for_diag_eye_mul(fgraph, node):
619618
return [eye_input / non_eye_input]
620619

621620

622-
def rewrite_inv_for_diag_ptdiag(fgraph, node):
623-
pass
624-
625-
626621
@register_canonicalize
627622
@register_stabilize
628623
@node_rewriter([Blockwise])

0 commit comments

Comments
 (0)