ValueError: could not broadcast input array from shape (3) into shape (6,5,2)

后端 未结 0 1890
予麋鹿
予麋鹿 2021-01-23 19:32

the following code is meant to convert the vector [6,5,3] into the array [[0,0,0,0,0,0],[1,1,1,1,1],[2,2,2]] (i.e 6 0s followed by 5 1s followed by 3 2s) however I am getting th

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