DLS Course 1 week 2 assignment 2 exercise 5:Propagate

I have tried many times to get it right but still I get the ValueError. It says: ValueError: operands could not be broadcast together with shapes (1,2) (2,3)

What could be the issue?

Hi @ahsanateeq and welcome. Their are a number of dot products required in the required expressions. In NumPy, np.dot can be used for all matrix multiplications, not just for multiplying two vectors. The latter is the linear algebra terminology. you can review the rules here.