Looping through random variables

You cannot assign theano tensor to hasAllSkillsForQuestionP which is a numpy array. You can either create an empty theano tensor and assign value to it, or index to skills and reshape it.

2 Likes