Closed
Description
Hello all,
Thank you for all your work on ChainRules, it is shaping up to be very useful.
I recently wrote my first frule
/rrule
for some (scalar) function, without using the @scalar_rule
macro.
It worked fine for 1D case, but I noticed it did not work with broadcasting (as in, my custom rules were never used).
Is there a straighforward way of getting custom rules to play nicely with broadcasting, or did I miss something obvious?
It might be worth adding something to the docs regarding this, since broadcasting seems to be central Julia concept.
Many thanks!
Metadata
Metadata
Assignees
Labels
No labels