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
{{ message }}
Repository navigation
Custom initializer not applied to the projection Dense in Flux GATConv, Flux GMMConv and GNNLux GMMConv #747
Some layers accept an initializer (init in Flux, init_weight in GNNLux), documented as "Weights' initializer", but build their internal projection Dense without it. Only the other weights use the custom initializer, while the projection keeps the Dense default (glorot_uniform in Flux, kaiming_uniform in Lux):
Suggested fix: pass the initializer to these Dense constructors, e.g. Dense(in, out * heads; bias = false, init) in Flux and Dense(in => out * K; use_bias = false, init_weight) in GNNLux. This changes the default initialization of GNNLux GMMConv's projection from kaiming_uniform to glorot_uniform.
Activity