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
For SVD, will we have svd_pullback(Ȳ::Composite{<:SVD}) and then in getproperty_svd_pullback change all uses of NamedTuples to Composites?
That sounds right.
The important part to remember about Composites in reverse mode,
is if your primal argument was a struct, then your pullback return is a Composite.
So that is your getproperty_svd_pullback
And conversely:
if the primal return value is a struct, your pullback argument is a Composite.
so that is your svd_pullback
Composite
was made for this case,but we haven't changed it over, and it still uses a hack.
The text was updated successfully, but these errors were encountered: