Manipulating rows and columns in an N,X,Y dimensional array in Python

前端 未结 0 1617
-上瘾入骨i
-上瘾入骨i 2021-01-28 23:42

I\'m trying to set N random rows and columns equal to a chosen value (in this case 1) in a multidimensional array of zeros of shape (N,X,Y) in Python.

Is there a way to d

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