a.W is actually getproperty(a, :W). This is not specific to Flux, but how the dot works in Julia.
Flux adds a specialization to getproperty. See @which a.W and the corresponding source file.
a.W is actually getproperty(a, :W). This is not specific to Flux, but how the dot works in Julia.
Flux adds a specialization to getproperty. See @which a.W and the corresponding source file.