-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Create a RandomState
Variable
constructor Op
#739
Comments
I like that approach. It sounds a lot like what we ended up doing here manually with shared RandomState variables: https://github.com/pymc-devs/pymc/blob/b29124bc054c47ca2de99789d9894db0caa17c13/pymc/initial_point.py#L200-L219 |
Another way to put it: we need an |
Took a stab at this and ran into an obvious problem. How do we return a symbolic representation of a |
There are no shared variables in this case. That's why we want this |
Do we return I am having trouble understanding how such an |
Yeah, a plain |
We need an
Op
that will constructRandomState
Variable
s with the seed values as inputs.We should need only one such
Op
that handles allRandomState
types (e.g. by having a fixedOp
-level property that determines which types theOp
generates).This—combined with #738—will largely remove the need to use shared variables for RNG states.
The text was updated successfully, but these errors were encountered: