Skip to content
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

Added identity init to CoupledRationalQuadraticSpline #55

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

mattcleigh
Copy link
Contributor

@mattcleigh mattcleigh commented Nov 30, 2023

Issue

Initializing the flow as an identity transform is exceptionally useful for training and is supported by the classes in the wrapper.py file such as AutoregressiveRationalQuadraticSpline CircularAutoregressiveRationalQuadraticSpline and CircularCoupledRationalQuadraticSpline but not CoupledRationalQuadraticSpline

Solution

Added init_identity to CoupledRationalQuadraticSpline in a way that is consistent with the other classes.

Copy link
Owner

@VincentStimper VincentStimper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks for this helpful contribution!

@VincentStimper
Copy link
Owner

@vincentberenz I think there is another error caused by the Python version here. Can you have a look, please?

@VincentStimper
Copy link
Owner

@mattcleigh The failure of the test was likely not caused by your PR, but by a problem with the test itself. @vincentberenz is looking into this now.

@VincentStimper VincentStimper merged commit 8272cdc into VincentStimper:master Dec 4, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants