numpy复制并扩充维度

np.expand_dims(a,0).repeat(1000,axis=0)

 

posted @ 2022-10-19 10:29  笨笨和呆呆  阅读(388)  评论(0)    收藏  举报