fields.buffers.base.BufferBase.expand_dims#
- BufferBase.expand_dims(axis: int, *args, **kwargs) BufferBase [source]#
Expand the shape of an array.
Insert a new axis that will appear at the axis position in the expanded array shape.
- Parameters:
- Returns:
A buffer with the expanded shape.
- Return type: