Expand the shape of the data array in place.
Insert a new size 1 axis, corresponding to a given position in the data array shape.
Parameters : |
|
---|---|
Returns : | None |
Examples
>>> f.expand_dims()
>>> f.expand_dims(axis=1)
>>> f.expand_dims('height')
>>> f.expand_dims('height', 3)
>>> f.expand_dims('dim1', 3)