获取对象的size 如果直接用length的话,在python中会返回list的行数 需要用np.size获得,详见以下链接 https://blog.csdn.net/qq_39516859/article/details/81607889