The ‘Parallel’ feature for defining network architectures in Flux is very handy and includes the ‘vcat’ and ‘+’ operations. I tried the ‘*’ (multiplication) operator but it didn’t work for me. Or is there a way to get it to work?
Thanks for any help
While +
is defined between vectors in Julia Base, multiplication is not because of ambiguity.
Use .*
instead for elementwise multiplication.
1 Like
Ah, that makes sense. Thanks so much - I’ll try it (and confirm that it works on here)
Yup! Works! Thanks again!
Great! Then please mark my answer as “Solution” to indicate to others that this topic has been resolved.