Hi, I’m trying to vectorize my model. I want to pass a hyperparameter and two vector parameters to the op for a complicated likelihood function. E.g if I have x and y (both length n) and theta (length 1), I get new_param=tt.stack([x,y])
phi=tt.as_tensor([new_param,theta])
likelihood=pm.DensityDist(‘likelihood’, lambda v: log1([v]), observed={‘v’: phi})
This raises an error: ‘Cannot convert [Join.0, p_fail] to TensorType’, <class ‘list’> on the tt.as_tensor line