About Lesson
x = np.array( [[1,1], [0,1]]) y = np.array( [[2,0],[3,4]])
1. The below code will return the item-wise product of both arrays.
x * y
2. The below code will return the matrix multiplication of both the arrays.
x @ y
OR
x.dot(y)
x = np.array( [[1,1], [0,1]]) y = np.array( [[2,0],[3,4]])
1. The below code will return the item-wise product of both arrays.
x * y
2. The below code will return the matrix multiplication of both the arrays.
x @ y
OR
x.dot(y)