X = np.arange(8).reshape((2,2,2))>>> Xarray([[[0, 1], [2, 3]], [[4, 5], [6, 7]]])>>> np.add.reduce(X, 0)array([[ 4, 6], [ 8, 10]])&g...
確定! 回上一頁