-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
rule definition helperrelating to helpers for declaring rulesrelating to helpers for declaring rulesspeculativefairly out there ideas for consideration in longer termfairly out there ideas for consideration in longer term
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 :(
oxinabox
Metadata
Metadata
Assignees
Labels
rule definition helperrelating to helpers for declaring rulesrelating to helpers for declaring rulesspeculativefairly out there ideas for consideration in longer termfairly out there ideas for consideration in longer term