摘要: a = np.arange(3) # a.shape = (3,) b = a.reshape((3,1)) # b.shape = (3,1) b2 = a.reshape((-1,1)) # b2.shape = (3,1) c = b.reshape((3,)) # c.shape = (3, 阅读全文
posted @ 2016-12-08 10:59 sumile123 阅读(192) 评论(0) 推荐(0) 编辑