實際上,Numpy會幫你把陣列給延伸展開,就像廣播(broadcasting)一樣的傳遞出去,這遵照所謂的broadcasting rules。 >>> A = np.array([[1,2],[3,4]] ...
確定! 回上一頁