I try to run the code like below:
>>> import numpy as np
>>> A = np.array([[1,2], [3,4], [5,6]])
>>> A.shape
(3, 2)
>>> B
I just learned this dot product from Neural Network... Anyway, it is the dot product between "1d" array and "nd" array. enter image description here
As we can see, it calculates the sum of the multiplication for elements separately in the red box as "17 + 28" Then enter image description here
Then enter image description here