Split 1D array into 2D blocks without reshaping or increasing step size

前端 未结 0 1313
不知归路
不知归路 2020-12-03 04:22

I have a flattened grayscale image (5x5) array, like:

[ 0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题