在python中将非均匀大小的2D数组组合成3D数组?
我已经在Stackoverflow上进行了搜索,但找不到这个特定问题的答案。抱歉,如果这是一个天真的问题,我是Python的新手。 三个2D阵列形状的
我有arr_x =
的 形状(1, 8 ),arr_y =
的形状(1, 8 < /strong>),&amp;形状 arr_z =
( 5 ,8)。 从这些2D阵列中,我想制作一个3D形状( 5 , 8 , 8 )。 谁能帮我组成3D阵列?
I've searched on stackoverflow but could not find an answer to this specific question. Sorry if it is a naive question, I am a newbie to python. I have three 2d arrays of shapes
Shape of arr_X =
(1,8), Shape of arr_Y =
(1,8), & Shape ofarr_Z =
(5,8).
From these 2D arrays I want to make one 3D array of shape (5, 8, 8).
Can anyone help me to form the 3D array?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论