Regarding these two matrices, I am somewhat confused by the dimensions. Isn’t W2’s dimensions supposed to be (n_y, n_h) and b2’s supposed to be (n_y, 1)? If n_y is 2, why are these matrices not sized accordingly? Help would be much appreciated.
W2 = [[-0.01057952 -0.00909008 0.00551454 0.02292208]]
b2 = [[0.]]