(A[:, np.newaxis] * B).sum(axis=1) array([ 0, 22, 76]) ... A, B) , the function doesn't construct a 3D array and then sum, ...
確定! 回上一頁