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

Adding option to return optimizer info #11

Merged
merged 8 commits into from
May 22, 2023
Merged

Adding option to return optimizer info #11

merged 8 commits into from
May 22, 2023

Conversation

dfm
Copy link
Owner

@dfm dfm commented Oct 20, 2022

Usage:

optimize(model, return_info)(random_key, *model_args, **model_kwargs)

returns a tuple:

(params_as_dict, ScipyMinimizeInfo)

@adrn
Copy link
Contributor

adrn commented Oct 22, 2022

Nice, thanks!

src/numpyro_ext/optim.py Outdated Show resolved Hide resolved
@dfm dfm merged commit 88f98e4 into main May 22, 2023
@dfm dfm deleted the optim-info branch May 22, 2023 15:24
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