How to reshape a (r, c, 1) matrix to (r, c)

后端 未结 0 769
北恋
北恋 2021-01-30 10:09

Given a matrix of shape (r, c, 1) like the below:

[[[1], [4], [5]],
 [[1], [7], [6]],
 ...
 [[9], [2], [8]]]

I would like it to be reshaped as (r

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