c = np.array([[[0, 1, 2,3], [4, 5, 6,7]], [[1, 2, 3,4], [5,6,7,8]]] print( c.sum(axis=0)) print( c.sum(axis=1)) print( c.sum(axis=2)).
確定! 回上一頁