Flatten Numpy 3D Array to 2D

前端 未结 0 573
生来不讨喜
生来不讨喜 2020-12-29 14:45

Suppose I have a 3D numpy array with shape (10, 20, 3), representing an image with 10 rows and 20 columns, where the 3rd dimension contains an array of length 3

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