dpnp.ndarray.squeeze

method

ndarray.squeeze(axis=None)

Remove single-dimensional entries from the shape of an array.

Refer to dpnp.squeeze for full documentation