-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Getting a random value from a Domain #2246
Comments
Hi @Neabfi! Thanks for the feedback. I considered this, and a previous Note that you can write your own |
This is fine with us. Sent #2259.
Thank you for the offer—we appreciate it! In this case there were some |
Summary: Resolves #2246. Test Plan: Unit tests added, and demo updated; the demo still works. wchargin-branch: hparams-sample-uniform
It would be convenient to have a single method to get a random value from a Domain. It would make the code to do a random search shorter and prettier.
Would that make sense? If yes, I can create a PR.
(cc @wchargin )
Examples:
The text was updated successfully, but these errors were encountered: