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
using Enzyme
u = [rand(2),rand(2)]
_u = Enzyme.zero(u)
B =rand(2,2)
_B =rand(2,2)
I = ([1,2],Colon())
functionf(B, A)
B .=stack(getindex.(u[last(I)], tuple.(Base.front(I))...))
nothingendf(B,u)
Enzyme.autodiff(Reverse, f, Duplicated(B, _B), Duplicated(u, _u))
Fairly tame MWE:
The text was updated successfully, but these errors were encountered: