JuliaDiff / JuliaDiff/ChainRulesTestUtils.jl
Helper for non-differentiable stuff
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 50
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
It would be helpful to have functionality which tests that @non_differentiable stuff is properly... non-differentiable.
It looks like rand_tangent doesn't work on it at the minute, and in any case we probably want to check that it's returning zeros etc.
Relevant issue: https://github.com/JuliaDiff/ChainRules.jl/pull/398
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 reviewing the behavior described for @non_differentiable and rand_tangent, then read the relevant ChainRules.jl pull request linked in the issue. Define the helper's expected checks around zero tangents and non-differentiability; done means the utility can verify those cases reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100