Answers for "3d array into 2d array python"

0

3d array into 2d array python

#n x m x 3 is to be converted to 3 x (n*m),
img.transpose(2,0,1).reshape(3,-1)
Posted by: Guest on August-29-2021

Python Answers by Framework

Browse Popular Code Answers by Language