For elementwise multiplication of matrix objects, you can use numpy.multiply : import numpy as np. a = np.array([[1,2],[3,4]]).
確定! 回上一頁