Open
Description
As a follow up to FluxML/NNlib.jl#257 and FluxML/NNlib.jl#258,
I wish the @scalar_rule
macro could be extended with an optional keyword argument so that it also defines
the broadcasted version of a rule, so something like
@scalar_rule tanh(x) 1 - Ω^2 broadcast=true
I would have attempted a PR, but I quickly realized that this above my very very little macro expertise :(