import numpy as np nums1 = np.array([1, 2, 3]) nums2 = nums1 + 10 ... 兩者維度不同, np.add 找出維度較大的陣列 a ,讓 b 的維度與之相同,你可以想像 b 被視為 ...
確定! 回上一頁