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

Remove heavy usage of `@generated` #243

Closed torfjelde closed 1 year ago

torfjelde commented 1 year ago

We're using @generated way too much (partially because a lot of this was done when I first discovered @generated and I just thought it was the coolest thing in the world).

We should reduce the usage.

devmotion commented 1 year ago

Seems you're rediscovering this issue from time to time: https://github.com/TuringLang/Bijectors.jl/issues/233 :smile:

torfjelde commented 1 year ago

Haha, indeed. Closed in favour of #233