mcabbott / mcabbott/SliceMap.jl
slicemap on TrackedArrays produces Array{TrackedReal}
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 31
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
This is a problem since the code below will not run on the GPU (unless one allows scalar operations which is not ideal)
julia> using SliceMap, Flux
julia> slicemap(norm, Flux.param(randn(2,2,2,2)), dims=(1,2))
2×2 Array{Tracker.TrackedReal{Float64},2}:
1.91925 2.69252
1.26406 1.22966
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
No source file or test is named. Start by reproducing the slicemap(norm, Flux.param(...), dims=(1,2)) example and inspect how TrackedArrays are handled; done means the result no longer requires scalar operations when used on the GPU.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100