Referencing elements in n-dimensional Numpy arays, when the shape is variable

后端 未结 0 1159
花落未央
花落未央 2021-02-02 12:23

I\'d like to be able to reference an element of a Numpy n-dimensional array when the shape of the array itself is variable.

For a 4-D array, I know I\'d be able to access

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