How do I make a 3d array and every row is an np.arange?

后端 未结 0 820
南方客
南方客 2020-12-24 03:07

I don\'t understand why this doesn\'t broadcast:

featureLoc1 = cp.zeros(shape=(popSize,features,maxDepth),dtype=\'int\')
featureLoc1[:,:,:] = cp.arange(0,feat         


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