dpnp.ndarray.compress

method

ndarray.compress(condition, axis=None, out=None)

Select slices of an array along a given axis.

Refer to dpnp.compress for full documentation.