JuliaDiff / JuliaDiff/AbstractDifferentiation.jl
reimplement `value_and_pullback_function` and `value_and_pushforward_function`
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 138
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
The current behavior of value_and_pullback_function/value_and_pushforward_function is that it returns a function which when called with the co-tangents/tangents as input returns both the function value at x and the tangent/co-tangent. The delayed return of the value of the function is unnecessary.
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
Start by locating the value_and_pullback_function and value_and_pushforward_function entry points and inspect their callers and existing tests. Compare the current delayed-value behavior with the intended return contract; this is done when both functions return the value at x without the unnecessary delayed call and the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend-api-design
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100