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
I just realized that the problem is not with the Parallel layer. A compat layer as follows won't work as well.
net1 =Dense(2=>32, relu)
net2 =Dense(1=>32, relu)
neural_net =@compact(net1=net1, net2=net2) do (u, t)
@returnnet1(u)+net2(t)
end
Therefore, it's more likely that the problem is related to the use of tuple as input. Although the specific reason remains unknown, it seems not an issue with Lux.jl.
Parallel
is found to be incompatible with Zygote nested gradient. A MWE is as follows.The text was updated successfully, but these errors were encountered: