Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

shape function python

# Example from https://numpy.org/doc/stable/reference/generated/numpy.ndarray.shape.html
y = np.zeros((2, 3, 4))
y.shape # this returns (2, 3, 4)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #shape #function #python
ADD COMMENT
Topic
Name
7+9 =