vXmn.tolist()
[[1,2], [1,2], [3,3],…]
vXm1.tolist() [[1], [-1], [1]…]
vXm1.reshape((m,)).tolist() [1, -1, 1] p.s: m 来自: (m, n) = vXm1.shape
posted on 2024-05-23 09:33 norsd 阅读(2) 评论(0) 编辑 收藏 举报 来源