numpy.expand_dims(a, axis)
Expand the shape of an array.
Insert a new axis, corresponding to a given position in the array shape.
a : array_like
Input array.
axis : int
Position (amongst axes) where new axis is to be inserted.
res : nda
联系方式: