You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This rewrite simplifies the diagonal of the kronecker product of 2 matrices by extracting the individual sub matrices and returning their outer product as a vector.
715
+
716
+
diag(kron(a,b)) -> outer(diag(a), diag(b))
717
+
718
+
Parameters
719
+
----------
720
+
fgraph: FunctionGraph
721
+
Function graph being optimized
722
+
node: Apply
723
+
Node of the function graph to be optimized
724
+
725
+
Returns
726
+
-------
727
+
list of Variable, optional
728
+
List of optimized variables, or None if no optimization was performed
This rewrite simplifies the slogdet of a blockdiagonal matrix by extracting the individual sub matrices and returning the sign and logdet values computed using those
749
+
750
+
Parameters
751
+
----------
752
+
fgraph: FunctionGraph
753
+
Function graph being optimized
754
+
node: Apply
755
+
Node of the function graph to be optimized
756
+
757
+
Returns
758
+
-------
759
+
list of Variable, optional
760
+
List of optimized variables, or None if no optimization was performed
0 commit comments