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
Add rrules/pullbacks for `project_hermitian!`, `project_antihermitian!`,
and `project_isometric!` directly in each AD backend extension
(ChainRulesCore, Enzyme, Mooncake). The hermitian/antihermitian
pullbacks are self-adjoint, while the isometric pullback delegates to
`left_polar_pullback!` with zero ΔP.
Includes test utilities and tests for all three backends.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
function Mooncake.rrule!!(f_df::CoDual{typeof(project_isometric!)}, A_dA::CoDual, W_dW::CoDual, alg_dalg::CoDual{<:MatrixAlgebraKit.AbstractAlgorithm})
824
+
A, dA =arrayify(A_dA)
825
+
W, dW =arrayify(W_dW)
826
+
Ac =copy(A)
827
+
Wc =copy(W)
828
+
# Compute the full polar decomposition for the pullback
0 commit comments