摘要: >>> np.sum([0.5, 1.5]) 2.0 >>> np.sum([0.5, 0.7, 0.2, 1.5], dtype=np.int32) 1 >>> np.sum([[0, 1], [0, 5]]) 6 >>> np.sum([[0, 1], [0, 5]], axis=0) array([0, 6]) >>> np.sum([[0, 1], [0, 5]], axis=1) ... 阅读全文
posted @ 2017-02-22 14:52 有梦就要去实现他 阅读(229) 评论(0) 推荐(0) 编辑