DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
numpy expand_dims
y = np.expand_dims(x, axis=(2, 0)) >>> y array([[[1], [2]]])
Source by numpy.org #
PREVIOUS
NEXT
Tagged:
#numpy
ADD COMMENT
Topic
COMMENT
Name
4+3 =
Submit