pytensor
pytensor copied to clipboard
Add kwarg to call to return next rng from RandomVariables
Description
If a user wants to operate with the non-default output of RVs, they have to do rv.make_node()
or rv().owner.outputs
none of which is ideal or very readable.
I suggest adding a kwarg like return_rng=True
that returns both (better names welcome)