How to resolve Input Dimension Mis-match Error in Hierarchical Bayesian Inference with PyMC3

Thanks a lot. I’ll try to make these changes and get back here. I do have one more question which I have posted as a separate query. Would be very nice if you guys could take a look at it. Cheers!