We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3359a2a commit 370f2d8Copy full SHA for 370f2d8
pytensor/tensor/rewriting/linalg.py
@@ -594,7 +594,6 @@ def rewrite_inv_inv(fgraph, node):
594
list of Variable, optional
595
List of optimized variables, or None if no optimization was performed
596
"""
597
- ALL_INVERSE_OPS = (MatrixInverse, MatrixPinv)
598
# Check if its a valid inverse operation (either inv/pinv)
599
# In case the outer operation is an inverse, it directly goes to the next step of finding inner operation
600
# If the outer operation is not a valid inverse, we do not apply this rewrite
0 commit comments