Note that the np.tile function creates new arrays and copies the data. Then you can add the arrays element-wise: >>> a2 + b2 array([[ 0, 1, 2], [10, 11, ...
確定! 回上一頁