DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
np array size
x = np.zeros((3, 5, 2), dtype=np.complex128) >>> x.size 30 >>> np.prod(x.shape) 30
Source by numpy.org #
PREVIOUS
NEXT
Tagged:
#np
#array
#size
ADD COMMENT
Topic
COMMENT
Name
4+3 =
Submit