-
Notifications
You must be signed in to change notification settings - Fork 41
Added output_length and output_size
#270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
src/bijectors/corr.jl
Outdated
| end | ||
|
|
||
| function output_size(::VecCorrBijector, sz::NTuple{2}) | ||
| @assert sz[1] == sz[2] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe make this a proper, more descriptive error?
Co-authored-by: David Widmann <[email protected]>
|
Cheers @devmotion ! I did all your suggestions + removed |
| name = "Bijectors" | ||
| uuid = "76274a88-744f-5084-9051-94815aaf08c4" | ||
| version = "0.12.8" | ||
| version = "0.13.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the changes to Stacked, this is now indeed a breaking PR.
|
I'm fixing |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
with tuple because recursive implementation fail
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Widmann <[email protected]>
|
Would be nice to get this merged somewhat quickly if there's nothing signficant holding it back, as everything related to "proper support for contrainsted distributions in Turing" is held back by this 😬 Note that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two minor comments, otherwise it looks good to me.
Co-authored-by: David Widmann <[email protected]>
|
Awesome; thanks David! ❤️ |
This is needed to ensure that transformed distributions are handled correctly now that transformations can change the support.
Related: #265