I am getting error on shapes (10,1) and (3,10) not aligned: 1 (dim 1) != 3 (dim 0)

Hi,
I had the error of mismatching the shape.

Inner dimensions have to be the same for dot product. It’s possible to dot 2 matrices of shapes (a, b) and (b, c) to get a result of shape (a, c). Please check your code.