dpnp.dpnp_array.dpnp_array.squeeze

method

dpnp_array.squeeze(axis=None)[source]

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

Refer to dpnp.squeeze for full documentation