摘要: c = np.array([2,2,2,2]).reshape(2,2) 通过reshape来实现1维到n维的转变 还有一种方法是:创建一个1000*1000*3的RGB图片 somaBackground = np.zeros((1000, 1000, 3), dtype=int) 读取图片 imp 阅读全文
posted @ 2021-07-02 12:46 bH1pJ 阅读(33) 评论(0) 推荐(0) 编辑