EnzymeAD / EnzymeAD/Reactant.jl
Redirect broadcasted setindex via `fill!`
Open
- Dominant language
- Julia
- Stars
- 370
- Forks
- 74
- Avg merge
- 18h 47m
- Merged PRs (30d)
- 30
Description
currently, it is legal to do:
```julia
fn(x) = begin
y = copy(x)
UpperTriangular(y) .= 1.0
return parent(y)
end
```
in Reactant. This technically needs #369 to work but that PR is not adding the setindex functionality.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.