TuringLang / Bijectors.jl

Implementation of normalising flows and constrained random variable transformations
https://turinglang.org/Bijectors.jl/
MIT License
200 stars 33 forks source link

Fix and simplification of Logit #172

Closed torfjelde closed 3 years ago

torfjelde commented 3 years ago

Simplified Logit implementation a bit and fixed constructor. Currently constructors such as Logit{1}(0, 1) are not supported, and this PR fixes this.

I just need to add some tests for the constructor and this should be good to go.

devmotion commented 3 years ago

Zygote test errors should be fixed by https://github.com/FluxML/Zygote.jl/pull/934.

torfjelde commented 3 years ago

Seems like it's good to go?