What is the numpy equivalent of expand in pytorch?

前端 未结 0 1207
Happy的楠姐
Happy的楠姐 2020-12-10 19:43

Suppose I have a numpy array x of shape [1,20]. I want to expand it along axis 0 such that the resulting array y has shape [10,20] and

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