import numpy as np import time a = np.random.rand(1000000) b ... Numpy中还有一个dot函数,如果矩阵是2维的,那么dot和matmul函数的效果相同.
確定! 回上一頁