numpy reshape

把一维数组reshape成多维数组,是由外向内逐步切割的过程:

 

输出:

 

posted @ 2022-09-04 10:21  Picassooo  阅读(50)  评论(0)    收藏  举报