-
I'm currently searching for and evaluating libraries that will let me share as much shader code with the CPU (regular functions, structs and HLSL "built-in"s) as possible.
HLSL2021 now has template…
-
From
https://github.com/JuliaDiff/ChainRules.jl/blob/24318b0321ccd48f16cbbd59dba6ae8bb9e90860/test/rulesets/LinearAlgebra/structured.jl#L120
```julia
using ChainRules
using ChainRulesCore
us…
-
Simple example of taking the jacobian of the identity function, but the identity function allocates a new vector and assigns by iteration:
```julia
function identity_loop(x)
y = similar(x)
…
-
@DilumAluthge suggested in https://github.com/cscherrer/Soss.jl/issues/161 that we add a Bayesian neural net example. There's a lot we'll need to do to get good performance here. Let's have some discu…
-
We don't currently maintain a distinction between tangents and cotangents in ChainRules. I've yet to come up with an example where it matters whether or not you do, but it would be good to understand …
-
Compare Zygote's `gradtest`
```julia
julia> @btime gradtest(x -> sum(abs2, x), randn(4, 3, 2))
17.977 μs (236 allocations: 5.86 KiB)
```
and CRTUs `test_rrule`
```julia
@btime test_rrule(Zygo…
-
Hi there,
I found an inconsistent behaviour when differentiating a function which takes in an `AbstractCuSparseArray` versus the same function differentiating an AbstractSparseArray
```julia
usi…
-
...i think that's what's going on :)
Here's the error i ran into when trying out ReTest.jl for the first time (using ReTest v0.3.0)
```julia
julia> using ChainRules, ReTest
julia> ReTest.hija…
-
At least for me, ChainRules failed to build on Julia v1.7.1 after pulling the latest changes from #597 last night. The error messages (sorry I didn't copy) mentioned that the recently added `Base.alle…
-
Thank you for a great package!
I would like to use Zygote on `quadgk` but below is a self-contained example, where it does not work because `quadgk` calls `setindex!`. Can I do anything to work arou…