Thanks,
I tried that but:
current_epoch_values = draw_values(current_epoch_shared)
throws:
File "/home/bdyetton/PSleep/src/modeling/sleep_stage_models.py", line 208, in _random
current_epoch_values = draw_values(current_epoch_shared)
File "/home/bdyetton/anaconda3/envs/psleep/lib/python3.7/site-packages/pymc3/distributions/distribution.py", line 283, in draw_values
params = dict(enumerate(params))
File "/home/bdyetton/anaconda3/envs/psleep/lib/python3.7/site-packages/theano/tensor/var.py", line 628, in __iter__
for i in xrange(theano.tensor.basic.get_vector_length(self)):
File "/home/bdyetton/anaconda3/envs/psleep/lib/python3.7/site-packages/theano/tensor/basic.py", line 4828, in get_vector_length
raise ValueError("length not known: %s" % msg)
ValueError: length not known: <TensorType(int64, vector)> [id A]
Giving a size input to draw values does not help either.