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

Making reparam an instance method in SumLayer and ExponentialFamilyArray classes #2

Closed
wants to merge 5 commits into from

Conversation

arranger1044
Copy link
Contributor

Replacing reparam_function with a reparam function as a direct instance method, in order to avoid local function objects that cannot be pickled.

See Issue #1

@smatmo
Copy link
Collaborator

smatmo commented Sep 29, 2020

Hi Antonio,

can we make this PR modular? Currently, the PR is fixing a bug and introducing a test script to test it.
It might be a good idea to introduce tests, but then let's do that in a clean way and a separate PR. I would like to keep this code as minimal, clean and logical as possible. Let's not add new files ad hoc if not necessary.

Robert

@arranger1044
Copy link
Contributor Author

Indeed the test file is not a proper test per se, but just a MWE for the issue.
I will close this and open another one later.

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