-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parallel never calls apply #1160
Comments
it calls it here: Lux.jl/src/layers/containers.jl Line 183 in 8792097
|
Right, but it's only calling it for the child layers not for |
The |
If |
overloading |
The
Parallel
layer never callsLux.apply
, but only calls its own methodLux.applyparallel
. The problem with this is that if you try to overload methods ofapply
to implement your own input types as described here,Parallel
will just completely ignore it.I would suggest keeping
applyparallel
as is but first adding an extra indirection viaapply
to the call toParallel
.The text was updated successfully, but these errors were encountered: