Is it possible to use a pymc3 RV to set the shape of another RV?
I'm looking to do something along the lines of:
with pm.Model() as model:
n_obj = pm.Poisson(name='n', mu=5)
objs = pm.Uniform(lower=0, upper=1, shape=(n_obj, 2))
When I run this, I get the error:
TypeError: 'TensorVariable' object cannot be interpreted as an integer