np. dot 是点乘
|A B| . |E F| = |A*E+B*G A*F+B*H|
|C D| |G H| |C*E+D*G C*F+D*H|
np.multiply 是 element - wise 乘积 (不懂的再自己搜索深度了解下)
|A B| ⊙ |E F| = |A*E B*F|
|C D| |G H| |C*G D*H|
np.dot([[1,2], [3,4]], [[1,2], [2,3]])
array([[ 5, 8],
[11, 18]])
np.multiply([[1,2], [3,4]], [[1,2], [2,3]])
array([[ 1, 4],
[ 6, 12]])