print(np.dot(a1,a2)) 20. argmin 取出矩陣元素最小值的index, argmax 取出矩陣元素最大值的index. >>> a = np.arange(2,14).reshape((3,4)) >>> print(a) [[ 2 3 4 ...
確定! 回上一頁