It seems that z_student has shape (students, categories) while z_question has shape (categories,questions), so you can’t subtract them.
It seems that z_student has shape (students, categories) while z_question has shape (categories,questions), so you can’t subtract them.