📜  3d数组转换为2d数组python代码示例

📅  最后修改于: 2022-03-11 14:45:45.689000             🧑  作者: Mango

代码示例1
#n x m x 3 is to be converted to 3 x (n*m),
img.transpose(2,0,1).reshape(3,-1)