-
Notifications
You must be signed in to change notification settings - Fork 49
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
Random instances / Hypothesis-like generation #189
Comments
I've definitely heard this idea discussed a couple of times, but I don't know that anyone has both done it and published it open-source. At least with JAX it should be particularly easy, as one could then do a |
okay, I might try something up. any recs on how to best get out the constraints? |
As in, given an This is accesible as |
Was just curious if anyone had built a way to use jaxtyping to generate random instances of the right shape specified by the constraints? Alternatively if I wanted to build that how might I hook into the constraint system.
https://hypothesis.readthedocs.io/en/latest/numpy.html#array-api
The text was updated successfully, but these errors were encountered: