dpnp.dpnp_array.dpnp_array.compress

method

dpnp_array.compress(condition, axis=None, out=None)[source]

Select slices of an array along a given axis.

Refer to dpnp.compress for full documentation.