如何输出python中list的维度

来源:互联网 发布:网络水军兼职 编辑:程序博客网 时间:2024/06/07 14:08
import numpy as npa = [[1,2],[3,4]]print(np.array(a).shape)

原创粉丝点击