JuliaDiff / JuliaDiff/ChainRulesTestUtils.jl
Make Test Utils know and test structured sparsity
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 50
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
If I am getting the rrule for something that takes e.g. a Diagonal matrix as input,
the senstivity should also be Diagonal etc.
There may be some special cases where it might need to be even more sparse, e.g one hot,
but that is a special case.
Likely we need to disable this, so it should be made configuable.
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 how Test Utils generates rrules and sensitivity inputs for structured arrays such as Diagonal matrices. Determine where this behavior should be configurable, then add coverage showing that sparsity is preserved by default and can be disabled. No specific files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100