Will Tebbutt
Will Tebbutt
Code up demo for Inverse Autoregressive Flows inference for the local latent variables in a VAE.
**Summary** Supercedes #470 . I messed up some of my gitconfig stuff and had commits with the wrong username etc. Easiest thing was to start again **Proposed changes** * ......
**Summary** Found this interesting kernel in the Probabilistic numerics textbook. **Proposed changes** Add the LinearSplineKernel * ... **What alternatives have you considered?** Doing more work to find a more general...
MWE: ```julia using ChainRulesCore: ProjectTo x = [randn(2), randn(3)] @code_warntype ProjectTo(x) ``` It appears to be the case that this happens because ```julia @code_warntype map(ProjectTo, x) ``` isn't type-stable. I'm...
The error message provided when a pullback isn't available for `new` / `__new__` for a particular cotangent type is a bit misleading / incomplete. In particular, you can see [here](https://github.com/FluxML/Zygote.jl/blob/5c80f55b24d4060f5550b25201b4b288703d34b9/src/lib/lib.jl#L327)...
As of version 0.6.15, the following: ```julia julia> Zygote.gradient(^, 0.0, 0.9) (0.0, 0.0) julia> Zygote.gradient((x, y) -> sum(x .^ y), zeros(3), fill(0.9, 3)) ([0.0, 0.0, 0.0], [0.0, 0.0, 0.0]) julia>...
As discussed with @torfjelde on slack: ```julia using Distributions, Turing # LDA example -- copied over from # https://github.com/TuringLang/Turing.jl/issues/668#issuecomment-1153124051 function _make_data(D, K, V, N, α, η) β = Matrix{Float64}(undef, V,...
**Summary** Replaces an equality test with an approximate equality test to handle roundoff issues. Should resolve #494 **Proposed changes** Loosen a test tolerance very slightly **What alternatives have you considered?**...
In order to design a front-end that is at least as flexible as GaussianProcesses.jl, and to check that we are at feature parity currently (albeit with more boilerplate), we are...
Latency
With all of the exciting stuff happening with code caching in 1.9, I thought I'd take a look at our latency for some common tasks. Consider the following code: ```julia...