JuliaDiff / JuliaDiff/ChainRules.jl
Where to find basic aritmetic operators derivatives and broadcasted versions
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 475
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
Hey,
I try to redefine @scalar_rules and some of the macros, to create the appropriate code for our symbolic derivation.
I tried to google and understand the source code it but didin't see where to fing the pullback for
:(+)(::AbstractArray, ::AbstractArray) ...
:(.+)(::AbstractArray, ::AbstractArray) ...
... -,*,/,^...
and so on.
I know it is easy to do but the library looks really nice and I don't understand where are the basic aritmetics. I found some *... in some case but the Array*Array also something I couldn't find.
What do I miss? How does Zygote do the chainrules without these arithmetics I couldn't get to know. Can you guys help me?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names @scalar_rules, related macros, and Zygote but no file or test. Start by tracing those entry points to the pullbacks for scalar and broadcasted arithmetic operators. Done would be documentation that identifies where these definitions live and explains how the operator derivatives are connected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- devtools
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100