filmov
tv
Python: NumPy Maximum Dimensions!

Показать описание
Python: NumPy Maximum Dimensions!
By trial and error, I found the maximum dimensions of a NumPy array.
The maximum is 32 dimensions.
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[list([[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[1]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]])]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
32 dimensions!
I tested 100 dimensions and 1000 dimensions both gave MemoryError!
#NumPy #maximum #dimensions
By trial and error, I found the maximum dimensions of a NumPy array.
The maximum is 32 dimensions.
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[list([[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[1]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]])]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
32 dimensions!
I tested 100 dimensions and 1000 dimensions both gave MemoryError!
#NumPy #maximum #dimensions